diff options
author | Brian Paul <[email protected]> | 2010-08-11 14:04:51 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-08-11 15:06:13 -0600 |
commit | 9f9386d22aca8d14d1b1e6d4de9b24dcb183ca10 (patch) | |
tree | 76db9128bafada655e0fc75504af4cf20ea9187b /src/glsl/ir_dead_code.cpp | |
parent | 4415a846457622061cd93be2fdce2448b2eeb00b (diff) |
glsl2: added casts to silence warnings
Diffstat (limited to 'src/glsl/ir_dead_code.cpp')
-rw-r--r-- | src/glsl/ir_dead_code.cpp | 6 |
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); } } } |