aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_dead_code.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-08-11 14:04:51 -0600
committerBrian Paul <[email protected]>2010-08-11 15:06:13 -0600
commit9f9386d22aca8d14d1b1e6d4de9b24dcb183ca10 (patch)
tree76db9128bafada655e0fc75504af4cf20ea9187b /src/glsl/ir_dead_code.cpp
parent4415a846457622061cd93be2fdce2448b2eeb00b (diff)
glsl2: added casts to silence warnings
Diffstat (limited to 'src/glsl/ir_dead_code.cpp')
-rw-r--r--src/glsl/ir_dead_code.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/ir_dead_code.cpp b/src/glsl/ir_dead_code.cpp
index 87988871c7e..fce921262f4 100644
--- a/src/glsl/ir_dead_code.cpp
+++ b/src/glsl/ir_dead_code.cpp
@@ -64,7 +64,7 @@ do_dead_code(exec_list *instructions)
if (debug) {
printf("%s@%p: %d refs, %d assigns, %sdeclared in our scope\n",
- entry->var->name, entry->var,
+ entry->var->name, (void *) entry->var,
entry->referenced_count, entry->assigned_count,
entry->declaration ? "" : "not ");
}
@@ -85,7 +85,7 @@ do_dead_code(exec_list *instructions)
if (debug) {
printf("Removed assignment to %s@%p\n",
- entry->var->name, entry->var);
+ entry->var->name, (void *) entry->var);
}
}
} else {
@@ -97,7 +97,7 @@ do_dead_code(exec_list *instructions)
if (debug) {
printf("Removed declaration of %s@%p\n",
- entry->var->name, entry->var);
+ entry->var->name, (void *) entry->var);
}
}
}