glsl: silence warning in printf() with a cast

This commit is contained in:
Brian Paul 2011-03-10 09:29:00 -07:00
parent 76a43c5fba
commit 0eab3a8a97
1 changed files with 1 additions and 1 deletions

View 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();
}