Fix warnings, only major one being an SDL_SetError not providing enough arguments.

This commit is contained in:
Brandon Schaefer
2014-06-05 15:29:23 -07:00
parent 6671aa2a08
commit 1f71676906
4 changed files with 4 additions and 4 deletions

View File

@@ -343,7 +343,7 @@ IMA_ADPCM_decode(Uint8 ** audio_buf, Uint32 * audio_len)
/* Check to make sure we have enough variables in the state array */
channels = IMA_ADPCM_state.wavefmt.channels;
if (channels > SDL_arraysize(IMA_ADPCM_state.state)) {
SDL_SetError("IMA ADPCM decoder can only handle %d channels",
SDL_SetError("IMA ADPCM decoder can only handle %zu channels",
SDL_arraysize(IMA_ADPCM_state.state));
return (-1);
}