glsl: silence warning in printf() with a cast
authorBrian Paul <brianp@vmware.com>
Thu, 10 Mar 2011 16:29:00 +0000 (09:29 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 10 Mar 2011 16:29:00 +0000 (09:29 -0700)
src/glsl/ir_validate.cpp

index b2ae08f3777b4b28b62fa88db9818980a2e755f5..0fc3baf869021166c7544d510490f9183a0cae11 100644 (file)
@@ -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();
    }