diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-19 23:53:27 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-19 23:53:27 -0800 |
commit | a45f2ec7b7e929d705df23471ee92f05e233338c (patch) | |
tree | 7b8260562a37b0b1ff44379fe8d163cec7e90a9f /src/mesa/shader | |
parent | 150cce6aef85d22b5d32fba5d27605a98be6794a (diff) | |
download | external_mesa3d-a45f2ec7b7e929d705df23471ee92f05e233338c.zip external_mesa3d-a45f2ec7b7e929d705df23471ee92f05e233338c.tar.gz external_mesa3d-a45f2ec7b7e929d705df23471ee92f05e233338c.tar.bz2 |
mesa: Silence compiler format warning.
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 0af70af..765aa00 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -308,7 +308,7 @@ reg_string(gl_register_file f, GLint index, gl_prog_print_mode mode, struct gl_program_parameter *param = prog->Parameters->Parameters + index; char *state = _mesa_program_state_string(param->StateIndexes); - sprintf(str, state); + sprintf(str, "%s", state); free(state); } break; |