From 921a30cf03f33fa891bca5669cb7e78010c62033 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 27 Jun 2013 11:42:04 +0100 Subject: [PATCH 2/2] eglplatform: use pointers instead of 32-bit ints in generic platform In the generic Unix case use pointers 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 https://bugs.freedesktop.org/show_bug.cgi?id=64959 --- include/EGL/eglplatform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 17fdc61..21b18fe 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -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 -- 1.7.10.4