From a6b5da2a4fb8708f873af87e24ba2afdb283d488 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 24 Sep 2017 14:32:26 +0100 Subject: [PATCH] Use locale-independent functions to parse numbers https://bugzilla.gnome.org/show_bug.cgi?id=788087 --- girnode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/girnode.c b/girnode.c index 455e9d6c0..4d439a642 100644 --- a/girnode.c +++ b/girnode.c @@ -992,19 +992,19 @@ _g_ir_node_param_direction_string (GIrNodeParam * node) static gint64 parse_int_value (const gchar *str) { - return strtoll (str, NULL, 0); + return g_ascii_strtoll (str, NULL, 0); } static guint64 parse_uint_value (const gchar *str) { - return strtoull (str, NULL, 0); + return g_ascii_strtoull (str, NULL, 0); } static gdouble parse_float_value (const gchar *str) { - return strtod (str, NULL); + return g_ascii_strtod (str, NULL); } static gboolean