glsl2: add cast to silence warning
authorBrian Paul <brianp@vmware.com>
Wed, 11 Aug 2010 20:00:15 +0000 (14:00 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Aug 2010 21:06:12 +0000 (15:06 -0600)
src/glsl/ir_structure_splitting.cpp

index 9dc5941207380d6a4f9ac7ee30f9caafe644ab9f..2f8389626315cb1950dd3bfd2b19716c74faee78 100644 (file)
@@ -401,7 +401,7 @@ do_structure_splitting(exec_list *instructions)
 
       if (debug) {
         printf("structure %s@%p: decl %d, whole_access %d\n",
-               entry->var->name, entry->var, entry->declaration,
+               entry->var->name, (void *) entry->var, entry->declaration,
                entry->whole_structure_access);
       }