added a cast
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Nov 2003 16:00:25 +0000 (16:00 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Nov 2003 16:00:25 +0000 (16:00 +0000)
src/mesa/main/texobj.c

index 4de4cf8c20546a61483bd5c0df7b52cb6ee948f7..168fa13b6d7aadf63dad2111738ead92e6969fbd 100644 (file)
@@ -306,7 +306,8 @@ _mesa_test_texobj_completeness( const GLcontext *ctx,
    /* Always need the base level image */
    if (!t->Image[baseLevel]) {
       char s[100];
-      sprintf(s, "obj %p (%d) Image[baseLevel=%d] == NULL", t, t->Name, baseLevel);
+      sprintf(s, "obj %p (%d) Image[baseLevel=%d] == NULL",
+              (void *) t, t->Name, baseLevel);
       incomplete(t, s);
       t->Complete = GL_FALSE;
       return;