projects
/
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
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 17e62403de24b0baac37a0cef720cf75b67e2278..1e6f7f483c49d65b5f6d04cd4e9994b09b45b752 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.