summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-03-10 09:29:00 -0700
committerBrian Paul <brianp@vmware.com>2011-03-10 09:29:00 -0700
commit0eab3a8a976ea282063710d5aa7d1709abc182c5 (patch)
tree89d04c51d9466c4b7b31a52b87ff6a3b19bf8535
parent76a43c5fba9ccb5e7f945a06ce711b381da0819b (diff)
glsl: silence warning in printf() with a cast
-rw-r--r--src/glsl/ir_validate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index b2ae08f377..0fc3baf869 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -214,7 +214,7 @@ ir_validate::visit_enter(ir_function_signature *ir)
if (ir->return_type == NULL) {
printf("Function signature %p for function %s has NULL return type.\n",
- ir, ir->function_name());
+ (void *) ir, ir->function_name());
abort();
}