mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
mesa: Silence compiler format warning.
This commit is contained in:
parent
150cce6aef
commit
a45f2ec7b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue