Mesa (master): mesa: s/unsigned/int/ to fix MSVC warning in uniforms.c

Brian Paul brianp at kemper.freedesktop.org
Fri Jul 12 14:31:12 UTC 2013


Module: Mesa
Branch: master
Commit: 2cfd768473896a537b160111005b4ffc9e1693a4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cfd768473896a537b160111005b4ffc9e1693a4

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul  8 10:00:29 2013 -0600

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

---

 src/mesa/main/uniforms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 17e6240..1e6f7f4 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.




More information about the mesa-commit mailing list