summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wsutil/type_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/type_util.c b/wsutil/type_util.c
index d41ab7d10a..8256dd7e63 100644
--- a/wsutil/type_util.c
+++ b/wsutil/type_util.c
@@ -48,7 +48,7 @@
gdouble
type_util_guint64_to_gdouble(guint64 value)
{
- if (value & G_GINT64_CONSTANT (0x8000000000000000))
+ if (value & G_GUINT64_CONSTANT (0x8000000000000000))
return (gdouble) ((gint64) value) + (gdouble) 18446744073709551616.;
else
return (gdouble) ((gint64) value);