s/GLint/GLuint/ to fix sign warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:34:02 +0000 (23:34 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 23:34:02 +0000 (23:34 +0000)
src/mesa/drivers/dri/r128/r128_span.c

index 25e57133cc3ad7a4045bc7877e00aab84d3ee8ed..85798c16013443b574cb370b91f6febeea5288b2 100644 (file)
@@ -209,7 +209,7 @@ do {                                                                        \
  */
 #define WRITE_DEPTH_SPAN()                                             \
 do {                                                                   \
-   GLint buf[n];                                                       \
+   GLuint buf[n];                                                      \
    GLint i;                                                            \
    GLuint *readbuf = (GLuint *)((GLubyte *)sPriv->pFB +                        \
                                r128scrn->spanOffset);                  \
@@ -228,7 +228,7 @@ do {                                                                        \
 
 #define WRITE_DEPTH_PIXELS()                                           \
 do {                                                                   \
-   GLint buf[n];                                                       \
+   GLuint buf[n];                                                      \
    GLint ox[MAX_WIDTH];                                                        \
    GLint oy[MAX_WIDTH];                                                        \
    GLuint *readbuf = (GLuint *)((GLubyte *)sPriv->pFB +                        \
@@ -309,7 +309,7 @@ do {                                                                        \
  */
 #define WRITE_STENCIL_SPAN()                                           \
 do {                                                                   \
-   GLint buf[n];                                                       \
+   GLuint buf[n];                                                      \
    GLint i;                                                            \
    GLuint *readbuf = (GLuint *)((GLubyte *)sPriv->pFB +                        \
                                r128scrn->spanOffset);                  \
@@ -328,7 +328,7 @@ do {                                                                        \
 
 #define WRITE_STENCIL_PIXELS()                                         \
 do {                                                                   \
-   GLint buf[n];                                                       \
+   GLuint buf[n];                                                      \
    GLint ox[MAX_WIDTH];                                                        \
    GLint oy[MAX_WIDTH];                                                        \
    GLuint *readbuf = (GLuint *)((GLubyte *)sPriv->pFB +                        \