diff options
Diffstat (limited to 'glib/gmacros.h')
-rw-r--r-- | glib/gmacros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gmacros.h b/glib/gmacros.h index a7ed77541..1be50a45b 100644 --- a/glib/gmacros.h +++ b/glib/gmacros.h @@ -952,7 +952,7 @@ /* Macros by analogy to GINT_TO_POINTER, GPOINTER_TO_INT */ #define GPOINTER_TO_SIZE(p) ((gsize) (p)) -#define GSIZE_TO_POINTER(s) ((gpointer) (gsize) (s)) +#define GSIZE_TO_POINTER(s) ((gpointer) (guintptr) (gsize) (s)) /* Provide convenience macros for handling structure * fields through their offsets. |