From efdd1e86217e9137f381a975d622a3c5440e57b2 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 17 Nov 2010 08:08:22 +0000 Subject: [PATCH] oh i see. GPOINTER_TO_UINT as well --- desmume/src/gtk/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 65966139d..e0e4a7ecc 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -69,6 +69,9 @@ #undef GPOINTER_TO_INT #define GPOINTER_TO_INT(p) ((gint) (glong) (p)) +#undef GPOINTER_TO_UINT +#define GPOINTER_TO_UINT(p) ((guint) (glong) (p)) + #define EMULOOP_PRIO (G_PRIORITY_HIGH_IDLE + 20) #if GTK_CHECK_VERSION(2,10,0)