projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0fbf1
)
mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c
61/7461/1
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jul 2013 16:00:29 +0000
(10:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Jul 2013 14:19:50 +0000
(08:19 -0600)
src/mesa/main/uniforms.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/uniforms.c
b/src/mesa/main/uniforms.c
index
17e6240
..
1e6f7f4
100644
(file)
--- a/
src/mesa/main/uniforms.c
+++ b/
src/mesa/main/uniforms.c
@@
-832,7
+832,7
@@
_mesa_get_uniform_name(const struct gl_uniform_storage *uni,
* harm in always appending "[0]" to uniform array names.
*/
if (uni->array_elements != 0) {
-
unsigned
i;
+
int
i;
/* The comparison is strange because *length does *NOT* include the
* terminating NUL, but maxLength does.