Mesa (glsl2): glsl2: add cast to silence warning
Brian Paul
brianp at kemper.freedesktop.org
Wed Aug 11 21:06:41 UTC 2010
Module: Mesa
Branch: glsl2
Commit: ffd3f15e965d451b1aef032015cc2edea66c30fa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffd3f15e965d451b1aef032015cc2edea66c30fa
Author: Brian Paul <brianp at vmware.com>
Date: Wed Aug 11 14:00:15 2010 -0600
glsl2: add cast to silence warning
---
src/glsl/ir_structure_splitting.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/ir_structure_splitting.cpp b/src/glsl/ir_structure_splitting.cpp
index 9dc5941..2f83896 100644
--- a/src/glsl/ir_structure_splitting.cpp
+++ b/src/glsl/ir_structure_splitting.cpp
@@ -401,7 +401,7 @@ do_structure_splitting(exec_list *instructions)
if (debug) {
printf("structure %s@%p: decl %d, whole_access %d\n",
- entry->var->name, entry->var, entry->declaration,
+ entry->var->name, (void *) entry->var, entry->declaration,
entry->whole_structure_access);
}
More information about the mesa-commit
mailing list