From: Alan Hourihane Date: Thu, 5 Jun 2008 10:47:20 +0000 (+0100) Subject: Silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2a9788ec6f4be8fa6cd2d213288d5488878be47;p=mesa.git Silence warning --- 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