summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-07-08 10:00:29 -0600
committerBrian Paul <[email protected]>2013-07-12 08:19:50 -0600
commit2cfd768473896a537b160111005b4ffc9e1693a4 (patch)
tree3a61964fd400d32b38d67c8edc8084e5872bd5a5 /src/mesa
parent5b0fbf1b0be58672db14c2da965d8c0c323eab29 (diff)
mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/uniforms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 17e62403de2..1e6f7f483c4 100644
--- 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.