diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2015-05-22 17:51:26 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimo@endlessm.com> | 2015-05-22 18:10:06 -0700 |
commit | 28e3a4a1172925dedad17be71d264d962cc5d9ea (patch) | |
tree | 1b844d07c462eab6174ec708813cb016559fa037 /webhelper | |
parent | 81ddb87c4c466d779253c6a469f346a724b3b017 (diff) |
webhelper: cast ngettext() number to guint64 instead of gulong
This fixes the test suite on my BRIX.
[endlessm/eos-sdk#291]
Diffstat (limited to 'webhelper')
-rw-r--r-- | webhelper/webextensions/wh2extension.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webhelper/webextensions/wh2extension.c b/webhelper/webextensions/wh2extension.c index 5b4ad06..654a304 100644 --- a/webhelper/webextensions/wh2extension.c +++ b/webhelper/webextensions/wh2extension.c @@ -84,7 +84,7 @@ translation_function (const gchar *message, static gchar * ngettext_translation_function (const gchar *singular, const gchar *plural, - gulong number, + guint64 number, Context *ctxt) { GError *error = NULL; @@ -223,7 +223,7 @@ ngettext_shim (JSContextRef js, } gchar *translation = ngettext_translation_function (singular_msg, plural_msg, - (gulong) number, ctxt); + (guint64) number, ctxt); g_free (singular_msg); g_free (plural_msg); |