projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05cd6cf
)
glsl: add cast to silence signed/unsigned comparision warning
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Jan 2013 15:47:04 +0000
(08:47 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Jan 2013 15:47:04 +0000
(08:47 -0700)
src/mesa/main/uniform_query.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/main/uniform_query.cpp
b/src/mesa/main/uniform_query.cpp
index 142ad1fbdc0d6259521e293a7ee1548a223a4fe7..afe9a08c1842b1665bea5517c999bbef4581ce7f 100644
(file)
--- a/
src/mesa/main/uniform_query.cpp
+++ b/
src/mesa/main/uniform_query.cpp
@@
-1028,7
+1028,7
@@
_mesa_get_uniform_location(struct gl_context *ctx,
* array_elements is zero and offset >= 0.
*/
if (array_lookup
-
&& offset >=
shProg->UniformStorage[location].array_elements) {
+
&& offset >= (long)
shProg->UniformStorage[location].array_elements) {
return GL_INVALID_INDEX;
}