Mesa (master): egl_glx.c: use unsigned instead of uint
Brian Paul
brianp at kemper.freedesktop.org
Mon Sep 19 13:56:27 UTC 2011
Module: Mesa
Branch: master
Commit: 75eb92fb28545bd57281e465c1dadf63b38ab55a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75eb92fb28545bd57281e465c1dadf63b38ab55a
Author: Matt Turner <mattst88 at gmail.com>
Date: Sun Sep 18 13:26:20 2011 -0400
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 <mattst88 at gmail.com>
Signed-off-by: Brian Paul <brianp at vmware.com>
---
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 042936f..9082fb3 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) {
More information about the mesa-commit
mailing list