[Mesa-dev] [PATCH 08/18] mesa: s/int/GLuint/ in get.c to silence MSVC warnings

Brian Paul brianp at vmware.com
Sun Nov 4 15:43:53 PST 2012


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

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index c34d873..fccad67 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1480,7 +1480,7 @@ _mesa_GetDoublev(GLenum pname, GLdouble *params)
 }
 
 static enum value_type
-find_value_indexed(const char *func, GLenum pname, int index, union value *v)
+find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v)
 {
    GET_CURRENT_CONTEXT(ctx);
 
-- 
1.7.3.4



More information about the mesa-dev mailing list