mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c
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 17e62403de24b0baac37a0cef720cf75b67e2278..1e6f7f483c49d65b5f6d04cd4e9994b09b45b752 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.