[Mesa-dev] [PATCH 14/18] tnl: fix MSVC signed/unsigned warnings

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


---
 src/mesa/tnl/t_draw.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c
index 6a3c966..0631eb1 100644
--- a/src/mesa/tnl/t_draw.c
+++ b/src/mesa/tnl/t_draw.c
@@ -141,7 +141,8 @@ convert_fixed_to_float(const struct gl_client_array *input,
                        const GLubyte *ptr, GLfloat *fptr,
                        GLuint count)
 {
-   GLuint i, j;
+   GLuint i;
+   GLint j;
    const GLint size = input->Size;
 
    if (input->Normalized) {
-- 
1.7.3.4



More information about the mesa-dev mailing list