diff options
author | Brian Paul <[email protected]> | 2008-07-29 17:43:35 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-29 17:43:35 -0600 |
commit | 016701f6860a840e079cb4c5f844a8cced712cd8 (patch) | |
tree | 217bbdbb61654ebf06220b19ecca7388024076c0 /src/mesa/shader/slang/slang_print.c | |
parent | b26a80aa12f1f8316da495b4fdeb94e75ba5d740 (diff) |
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/slang/slang_print.c')
-rw-r--r-- | src/mesa/shader/slang/slang_print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c index 2284b3be417..f48762fb111 100644 --- a/src/mesa/shader/slang/slang_print.c +++ b/src/mesa/shader/slang/slang_print.c @@ -268,6 +268,7 @@ slang_print_tree(const slang_operation *op, int indent) for (i = 0; i < op->locals->num_variables; i++) { printf("%s ", (char *) op->locals->variables[i]->a_name); } + printf("\n"); print_generic(op, NULL, indent+3); spaces(indent); printf("}}\n"); @@ -665,7 +666,7 @@ slang_print_tree(const slang_operation *op, int indent) void slang_print_function(const slang_function *f, GLboolean body) { - int i; + GLuint i; #if 0 if (_mesa_strcmp((char *) f->header.a_name, "main") != 0) |