summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-01 03:32:48 +0000
committerBrian Paul <[email protected]>2005-09-01 03:32:48 +0000
commitf1d269060b050bbf3d7cc751c3c7333d795fb215 (patch)
treea74eea644c62130a64a9ba17a7da664678c481bc /src/mesa/drivers/dri/i915
parentf069e74dd8250e03b5891f13e869dfcd1b49ecaf (diff)
use char* instead of GLubyte* in i915_program_error() to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i915_program.c2
-rw-r--r--src/mesa/drivers/dri/i915/i915_program.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_program.c b/src/mesa/drivers/dri/i915/i915_program.c
index cf3ebc17109..a1d32791d44 100644
--- a/src/mesa/drivers/dri/i915/i915_program.c
+++ b/src/mesa/drivers/dri/i915/i915_program.c
@@ -349,7 +349,7 @@ GLuint i915_emit_param4fv( struct i915_fragment_program *p,
-void i915_program_error( struct i915_fragment_program *p, const GLubyte *msg )
+void i915_program_error( struct i915_fragment_program *p, const char *msg )
{
fprintf(stderr, "%s\n", msg);
p->error = 1;
diff --git a/src/mesa/drivers/dri/i915/i915_program.h b/src/mesa/drivers/dri/i915/i915_program.h
index c53ebead6c7..8891a177855 100644
--- a/src/mesa/drivers/dri/i915/i915_program.h
+++ b/src/mesa/drivers/dri/i915/i915_program.h
@@ -147,7 +147,7 @@ extern GLuint i915_emit_param4fv( struct i915_fragment_program *p,
const GLfloat *values );
extern void i915_program_error( struct i915_fragment_program *p,
- const GLubyte *msg );
+ const char *msg );
extern void i915_init_program( i915ContextPtr i915,
struct i915_fragment_program *p );