From bbffed0857634912c7a1f13882eba303ae2bf4e1 Mon Sep 17 00:00:00 2001
From: Brian Paul <brian.paul@tungstengraphics.com>
Date: Sat, 1 Nov 2008 16:04:45 -0600
Subject: mesa: silence warnings

---
 src/mesa/shader/slang/slang_print.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c
index 0840a0e2f6..b88cefc283 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");
-- 
cgit v1.2.3