projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a43c5
)
glsl: silence warning in printf() with a cast
author
Brian Paul
<brianp@vmware.com>
Thu, 10 Mar 2011 16:29:00 +0000
(09:29 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 10 Mar 2011 16:29:00 +0000
(09:29 -0700)
src/glsl/ir_validate.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_validate.cpp
b/src/glsl/ir_validate.cpp
index
b2ae08f
..
0fc3baf
100644
(file)
--- 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();
}