From 0eab3a8a976ea282063710d5aa7d1709abc182c5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Mar 2011 09:29:00 -0700 Subject: glsl: silence warning in printf() with a cast --- src/glsl/ir_validate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glsl/ir_validate.cpp') 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(); } -- cgit v1.2.3