summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-01 16:04:45 -0600
committerBrian Paul <[email protected]>2008-11-01 16:04:58 -0600
commitc7e98469fac821d23fe1ff63ff05da664c05b197 (patch)
tree38de143773d816a1235e97adfa3bb9765d1025f3 /src
parente9bc632d829f38e5b15c2cdbaaa61caffb02f8c8 (diff)
mesa: silence warnings
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c
index 0840a0e2f6d..b88cefc283b 100644
--- a/src/mesa/shader/slang/slang_print.c
+++ b/src/mesa/shader/slang/slang_print.c
@@ -379,7 +379,7 @@ slang_print_tree(const slang_operation *op, int indent)
case SLANG_OPER_WHILE:
assert(op->num_children == 2);
spaces(indent);
- printf("WHILE LOOP: locals = %p\n", op->locals);
+ printf("WHILE LOOP: locals = %p\n", (void *) op->locals);
indent += 3;
spaces(indent);
printf("WHILE cond:\n");
@@ -394,7 +394,7 @@ slang_print_tree(const slang_operation *op, int indent)
case SLANG_OPER_DO:
spaces(indent);
- printf("DO LOOP: locals = %p\n", op->locals);
+ printf("DO LOOP: locals = %p\n", (void *) op->locals);
indent += 3;
spaces(indent);
printf("DO body:\n");
@@ -409,7 +409,7 @@ slang_print_tree(const slang_operation *op, int indent)
case SLANG_OPER_FOR:
spaces(indent);
- printf("FOR LOOP: locals = %p\n", op->locals);
+ printf("FOR LOOP: locals = %p\n", (void *) op->locals);
indent += 3;
spaces(indent);
printf("FOR init:\n");