diff options
Diffstat (limited to 'epan/asn1.c')
-rw-r--r-- | epan/asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/asn1.c b/epan/asn1.c index caefb08064..7afa107192 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -278,7 +278,7 @@ double asn1_get_real(const guint8 *real_ptr, gint len) { } } else { /* decimal encoding */ buf = g_strndup(p, len); - val = atof(buf); + val = g_ascii_strtod(buf, NULL); g_free(buf); } |