Mesa (master): tnl: fix MSVC signed/unsigned warnings

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


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

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

tnl: fix MSVC signed/unsigned warnings

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

---

 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) {




More information about the mesa-commit mailing list