aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/ftypes/ftype-double.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-double.c b/epan/ftypes/ftype-double.c
index b38597979c..ba41b9c260 100644
--- a/epan/ftypes/ftype-double.c
+++ b/epan/ftypes/ftype-double.c
@@ -55,7 +55,7 @@ val_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogFu
{
char *endptr = NULL;
- fv->value.floating = strtod(s, &endptr);
+ fv->value.floating = g_ascii_strtod(s, &endptr);
if (endptr == s || *endptr != '\0') {
/* This isn't a valid number. */