diff options
author | Brian Paul <[email protected]> | 2010-02-19 12:45:49 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-19 12:45:49 -0700 |
commit | 8de5a292f70dba854a4bf06a2210bc38381e6bcf (patch) | |
tree | 4876fd715cd9cc383c7eccfd2345f065858c2d34 /src/mesa/shader | |
parent | 984b72ad5f47cda8e141dc38524f6a0598dcc541 (diff) |
mesa: casts to silence new warnings from printf()
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index a933f21857e..b4905abf4c8 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -603,7 +603,7 @@ _mesa_fprint_instruction_opt(FILE *f, switch (inst->Opcode) { case OPCODE_PRINT: - fprintf(f, "PRINT '%s'", inst->Data); + fprintf(f, "PRINT '%s'", (char *) inst->Data); if (inst->SrcReg[0].File != PROGRAM_UNDEFINED) { fprintf(f, ", "); fprintf(f, "%s[%d]%s", |