summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-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 cf3ebc1710..a1d32791d4 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 c53ebead6c..8891a17785 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 );