gallium: reduce signed/unsigned warnings
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Mar 2008 10:43:53 +0000 (10:43 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Mar 2008 10:43:53 +0000 (10:43 +0000)
src/gallium/auxiliary/draw/draw_passthrough.c

index fc2dde38babb7d5966e2ebe0ca959effc3cf5e77..a51fa0ab23cbcbef0de0f5b922086989d9e9c491 100644 (file)
@@ -78,7 +78,7 @@ static void fetch_xyz_rgb_st( struct draw_context *draw,
 {
    const unsigned *pitch   = draw->vertex_fetch.pitch;
    const ubyte **src       = draw->vertex_fetch.src_ptr;
-   int i;
+   unsigned i;
 
    const ubyte *xyzw = src[0] + start * pitch[0];
    const ubyte *rgba = src[1] + start * pitch[1];