From b2a9788ec6f4be8fa6cd2d213288d5488878be47 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 5 Jun 2008 11:47:20 +0100 Subject: Silence warning --- src/glx/x11/glx_pbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/x11/glx_pbuffer.c b/src/glx/x11/glx_pbuffer.c index 08743e560fa..0f878f223f8 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 -- cgit v1.2.3