From 75eb92fb28545bd57281e465c1dadf63b38ab55a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 18 Sep 2011 13:26:20 -0400 Subject: [PATCH] egl_glx.c: use unsigned instead of uint We've had a hack to fix this in Gentoo on Solaris for a while. Signed-off-by: Matt Turner Signed-off-by: Brian Paul --- src/egl/drivers/glx/egl_glx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c index 042936f960e..9082fb3bfad 100644 --- a/src/egl/drivers/glx/egl_glx.c +++ b/src/egl/drivers/glx/egl_glx.c @@ -808,7 +808,7 @@ GLX_eglMakeCurrent(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, /** Get size of given window */ static Status -get_drawable_size(Display *dpy, Drawable d, uint *width, uint *height) +get_drawable_size(Display *dpy, Drawable d, unsigned *width, unsigned *height) { Window root; Status stat; @@ -831,7 +831,7 @@ GLX_eglCreateWindowSurface(_EGLDriver *drv, _EGLDisplay *disp, struct GLX_egl_driver *GLX_drv = GLX_egl_driver(drv); struct GLX_egl_display *GLX_dpy = GLX_egl_display(disp); struct GLX_egl_surface *GLX_surf; - uint width, height; + unsigned width, height; GLX_surf = CALLOC_STRUCT(GLX_egl_surface); if (!GLX_surf) { @@ -879,7 +879,7 @@ GLX_eglCreatePixmapSurface(_EGLDriver *drv, _EGLDisplay *disp, struct GLX_egl_driver *GLX_drv = GLX_egl_driver(drv); struct GLX_egl_display *GLX_dpy = GLX_egl_display(disp); struct GLX_egl_surface *GLX_surf; - uint width, height; + unsigned width, height; GLX_surf = CALLOC_STRUCT(GLX_egl_surface); if (!GLX_surf) { -- 2.30.2