Mesa (master): mesa: s/GLint/GLuint/ in matrix.c to silence MSVC warnings

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 6 15:11:32 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Nov  4 16:43:44 2012 -0700

mesa: s/GLint/GLuint/ in matrix.c to silence MSVC warnings

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

---

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

diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index 28c4e2b..3c5968c 100644
--- a/src/mesa/main/matrix.c
+++ b/src/mesa/main/matrix.c
@@ -746,7 +746,7 @@ void _mesa_free_matrix_data( struct gl_context *ctx )
  */
 void _mesa_init_transform( struct gl_context *ctx )
 {
-   GLint i;
+   GLuint i;
 
    /* Transformation group */
    ctx->Transform.MatrixMode = GL_MODELVIEW;




More information about the mesa-commit mailing list