diff options
author | Brian Paul <[email protected]> | 2011-03-10 09:29:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-05 09:12:20 -0600 |
commit | 7c9d66c60f8c0bfe5b2628752e1f6dd117c74820 (patch) | |
tree | 9d6d20f72cbdf0fe6ddf9ba04156ab0f52af6b04 | |
parent | 1068b7f9ed35b5eadad6ec5521662e62a5964986 (diff) |
glsl: silence warning in printf() with a cast
(cherry picked from commit 0eab3a8a976ea282063710d5aa7d1709abc182c5)
-rw-r--r-- | src/glsl/ir_validate.cpp | 2 |
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(); } |