We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1168258 commit 489292fCopy full SHA for 489292f
library/wmem/wmem_core.h
@@ -201,9 +201,9 @@ typedef uint32_t (*GHashFunc) (const void *key);
201
typedef bool (*GEqualFunc) (const void *a, const void *b);
202
typedef void (*GHFunc) (void *key, void *value, void *user_data);
203
204
-#define GPOINTER_TO_INT(p) ((int32_t) (p))
205
-#define GPOINTER_TO_UINT(p) ((uint32_t) (p))
206
-#define GUINT_TO_POINTER(u) ((void *) (u))
+#define GPOINTER_TO_INT(p) ((int) (int) (p))
+#define GPOINTER_TO_UINT(p) ((unsigned int) (unsigned int) (p))
+#define GUINT_TO_POINTER(u) ((void *) (unsigned int) (u))
207
208
/** @} */
209
0 commit comments