summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b2ae08f3777..0fc3baf8690 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();
}