silence minor warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Sep 2001 17:00:42 +0000 (17:00 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Sep 2001 17:00:42 +0000 (17:00 +0000)
src/mesa/tnl/t_array_api.c

index ac1cffb..e674169 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: t_array_api.c,v 1.18 2001/08/13 22:15:54 keithw Exp $ */
+/* $Id: t_array_api.c,v 1.19 2001/09/14 17:00:42 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
 static void fallback_drawarrays( GLcontext *ctx, GLenum mode, GLint start,
                                 GLsizei count )
 {
-   if (_tnl_hard_begin( ctx, mode ))
-   {
-      GLuint i;
-      for (i=start;i<count;i++) {
+   if (_tnl_hard_begin( ctx, mode )) {
+      GLint i;
+      for (i = start; i < count; i++) {
         _tnl_array_element( ctx, i );
       }
       _tnl_end( ctx );
@@ -65,7 +64,7 @@ static void fallback_drawelements( GLcontext *ctx, GLenum mode, GLsizei count,
    /* Simple version of the above code.
     */
    if (_tnl_hard_begin(ctx, mode)) {
-      GLuint i;
+      GLint i;
       for (i = 0 ; i < count ; i++)
         _tnl_array_element( ctx, indices[i] );
       _tnl_end( ctx );