use char* instead of GLubyte* in i915_program_error() to silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 Sep 2005 03:32:48 +0000 (03:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 Sep 2005 03:32:48 +0000 (03:32 +0000)
src/mesa/drivers/dri/i915/i915_program.c
src/mesa/drivers/dri/i915/i915_program.h

index cf3ebc171094d8a627f043e89fc3d6c427d69965..a1d32791d4490d9e3805ce5dd8b3f97afef4ab3d 100644 (file)
@@ -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;
index c53ebead6c7df64d65e837b882a69fe2f8715f38..8891a177855a56052dd144b6483ccbfa08dd4dd5 100644 (file)
@@ -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 );