summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-08-11 14:00:15 -0600
committerBrian Paul <[email protected]>2010-08-11 15:06:12 -0600
commitffd3f15e965d451b1aef032015cc2edea66c30fa (patch)
tree96c4f258309a8e3816e75f29ae9e4fc31854e343 /src
parent30d083903f28965122800cc6ba3dc1ad08aff47f (diff)
glsl2: add cast to silence warning
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ir_structure_splitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_structure_splitting.cpp b/src/glsl/ir_structure_splitting.cpp
index 9dc59412073..2f838962631 100644
--- a/src/glsl/ir_structure_splitting.cpp
+++ b/src/glsl/ir_structure_splitting.cpp
@@ -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);
}