OSDN Git Service

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 cf3ebc1..a1d3279 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 c53ebea..8891a17 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 );