summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-24 22:32:16 +0000
committerBrian Paul <[email protected]>2003-11-24 22:32:16 +0000
commite1a107c4e7eeae3bb070e7f1f842ea1590b34867 (patch)
tree0b7c419d86bed464e34bda6bbbb23878269778ad
parent62b6eb320e210225931f88fe71ba97814e214d14 (diff)
minor cast fixes
-rw-r--r--src/mesa/tnl/t_array_import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_import.c b/src/mesa/tnl/t_array_import.c
index f26f83a38c6..8f14aaf3810 100644
--- a/src/mesa/tnl/t_array_import.c
+++ b/src/mesa/tnl/t_array_import.c
@@ -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,