summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 16:00:25 +0000
committerBrian Paul <[email protected]>2003-11-25 16:00:25 +0000
commit4ccbe9e666b55b97e6482e0655277c33e434ff32 (patch)
tree4271f5ac6c43b2012d8122a36974ec0285ae76a1 /src/mesa
parentb65bc4f87b356cf6228151cd2f341432e80dc6b8 (diff)
added a cast
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 4de4cf8c205..168fa13b6d7 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -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;