mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c

This commit is contained in:
Brian Paul 2013-07-08 10:00:29 -06:00
parent 5b0fbf1b0b
commit 2cfd768473

View file

@ -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.