From: Matt Turner Date: Sun, 18 Sep 2011 17:26:20 +0000 (-0400) Subject: egl_glx.c: use unsigned instead of uint X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75eb92fb28545bd57281e465c1dadf63b38ab55a;p=mesa.git 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 --- 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) {