diff options
author | Matt Turner <[email protected]> | 2011-09-18 13:26:20 -0400 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-19 07:39:04 -0600 |
commit | 75eb92fb28545bd57281e465c1dadf63b38ab55a (patch) | |
tree | cfcc1a05b37cab0a17014ca437727a4d3b87508c /src/egl/drivers/glx | |
parent | 116e896aaf768737fc2ab26e474ed57fc2dd1307 (diff) |
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 <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl/drivers/glx')
-rw-r--r-- | src/egl/drivers/glx/egl_glx.c | 6 |
1 files 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) { |