summaryrefslogtreecommitdiff
path: root/glib/gutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gutils.c')
-rw-r--r--glib/gutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gutils.c b/glib/gutils.c
index c20f07566..ef5113482 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -823,6 +823,6 @@ g_parse_debug_string (const gchar *string,
guint
g_direct_hash(gpointer key)
{
- return (guint) key;
+ return GPOINTER_TO_UINT (key);
}