Silence warning
authorAlan Hourihane <alanh@tungstengraphics.com>
Thu, 5 Jun 2008 10:47:20 +0000 (11:47 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Thu, 5 Jun 2008 10:47:20 +0000 (11:47 +0100)
src/glx/x11/glx_pbuffer.c

index 08743e560fa4c48539739e331b4d906c0c4d6dfd..0f878f223f806d58974213ed4bb618042600d331 100644 (file)
@@ -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