Skip to content
Permalink
Browse files
Fix warnings, only major one being an SDL_SetError not providing enou…
…gh arguments.
  • Loading branch information
BrandonSchaefer committed Jun 5, 2014
1 parent 6671aa2 commit 1f716769062093a30caea607cf1876de6e3527d3

File 1 of 4 in 1f71676

@@ -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);
}

0 comments on commit 1f71676

Please sign in to comment.