minor cast fixes
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2003 22:32:16 +0000 (22:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2003 22:32:16 +0000 (22:32 +0000)
src/mesa/tnl/t_array_import.c

index f26f83a38c6128d2086075944aa36deb87b345cd..8f14aaf381032b7f4582e1a8e40b3f699ea3dece 100644 (file)
@@ -89,7 +89,7 @@ static void _tnl_import_color( GLcontext *ctx,
    struct gl_client_array *tmp;
    GLboolean is_writeable = 0;
    struct tnl_vertex_arrays *inputs = &TNL_CONTEXT(ctx)->array_inputs;
-   GLubyte *data;
+   const GLubyte *data;
 
    tmp = _ac_import_color(ctx,
                          GL_FLOAT,
@@ -113,7 +113,7 @@ static void _tnl_import_secondarycolor( GLcontext *ctx,
    struct gl_client_array *tmp;
    GLboolean is_writeable = 0;
    struct tnl_vertex_arrays *inputs = &TNL_CONTEXT(ctx)->array_inputs;
-   GLubyte *data;
+   const GLubyte *data;
 
    tmp = _ac_import_secondarycolor(ctx, 
                                   GL_FLOAT,