From f1d269060b050bbf3d7cc751c3c7333d795fb215 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 Sep 2005 03:32:48 +0000 Subject: [PATCH] use char* instead of GLubyte* in i915_program_error() to silence warnings --- src/mesa/drivers/dri/i915/i915_program.c | 2 +- src/mesa/drivers/dri/i915/i915_program.h | 2 +- 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 ); -- 2.30.2