Module: Mesa Branch: mesa_7_2_branch Commit: efda308559803c3aa5f8110c7fb138d566a06a4b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=efda308559803c3aa5f8110c7fb138d566a06a4b
Author: Brian Paul <[EMAIL PROTECTED]> Date: Sat Nov 1 16:04:45 2008 -0600 mesa: silence warnings --- src/mesa/shader/slang/slang_print.c | 6 +++--- 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 0840a0e..b88cefc 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"); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit