mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c 61/7461/1
authorBrian Paul <brianp@vmware.com>
Mon, 8 Jul 2013 16:00:29 +0000 (10:00 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 12 Jul 2013 14:19:50 +0000 (08:19 -0600)
src/mesa/main/uniforms.c

index 17e6240..1e6f7f4 100644 (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.