eglplatform: use unsigned long instead of 32-bit ints in generic platform
authorRoss Burton <ross.burton@intel.com>
Thu, 27 Jun 2013 11:35:08 +0000 (12:35 +0100)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 1 Jul 2013 17:06:24 +0000 (10:06 -0700)
In the generic Unix case use the "unsigned long" type instead of 32-bit
integers so that the type sizes are consistant on 64-bit machines between X11
and not-X11.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
include/EGL/eglplatform.h

index 17fdc61146a8c15d7742dfa532d8514533c8588c..21b18fe73817824ff99f5c4392365fb815f3b262 100644 (file)
@@ -109,8 +109,8 @@ typedef void                        *EGLNativeDisplayType;
 #ifdef MESA_EGL_NO_X11_HEADERS
 
 typedef void            *EGLNativeDisplayType;
-typedef khronos_uint32_t EGLNativePixmapType;
-typedef khronos_uint32_t EGLNativeWindowType;
+typedef khronos_uintptr_t EGLNativePixmapType;
+typedef khronos_uintptr_t EGLNativeWindowType;
 
 #else