diff options
author | Michal Krol <[email protected]> | 2008-09-05 12:25:50 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-09-05 12:25:50 +0200 |
commit | ce3cf63251b9d0de1de066f71d0c642360215f13 (patch) | |
tree | f112adb268f618b6e656f1d75b4249a145617981 /src/mesa/shader/arbprogparse.c | |
parent | b8a7eef242f6bb97d90f6e0303d270b2cbc58421 (diff) |
mesa: _mesa_program_state_string() returns char *, not const char *.
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 78cc6aa9cc0..26ccdc7395a 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -3354,11 +3354,11 @@ debug_variables (GLcontext * ctx, struct var_cache *vc_head, fprintf (stderr, "%s\n", Program->Base.Parameters->Parameters[a + b].Name); if (Program->Base.Parameters->Parameters[a + b].Type == PROGRAM_STATE_VAR) { - const char *s; + char *s; s = _mesa_program_state_string(Program->Base.Parameters->Parameters [a + b].StateIndexes); fprintf(stderr, "%s\n", s); - _mesa_free((char *) s); + _mesa_free(s); } else fprintf (stderr, "%f %f %f %f\n", |