summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-06-05 11:47:20 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-06-05 11:47:20 +0100
commitb2a9788ec6f4be8fa6cd2d213288d5488878be47 (patch)
treef6cf1f1677103141d25b4fa922a668058199ec9e /src/glx
parent4c7a17c2517510a608da853f0b6b3b8b2cae52d2 (diff)
Silence warning
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/glx_pbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c
index 08743e560f..0f878f223f 100644
--- a/src/glx/x11/glx_pbuffer.c
+++ b/src/glx/x11/glx_pbuffer.c
@@ -293,7 +293,7 @@ GetDrawableAttribute( Display *dpy, GLXDrawable drawable,
__GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable, NULL);
if (pdraw != NULL && !pdraw->textureTarget)
- pdraw->textureTarget = determineTextureTarget(data,
+ pdraw->textureTarget = determineTextureTarget((const int *)data,
num_attributes);
}
#endif