Fixed compiler warning on Mac OS X

main
Sam Lantinga 2014-07-07 10:38:10 -07:00
parent c5812c5511
commit 73cb234b5c
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ IMA_ADPCM_decode(Uint8 ** audio_buf, Uint32 * audio_len)
channels = IMA_ADPCM_state.wavefmt.channels; channels = IMA_ADPCM_state.wavefmt.channels;
if (channels > SDL_arraysize(IMA_ADPCM_state.state)) { if (channels > SDL_arraysize(IMA_ADPCM_state.state)) {
SDL_SetError("IMA ADPCM decoder can only handle %u channels", SDL_SetError("IMA ADPCM decoder can only handle %u channels",
SDL_arraysize(IMA_ADPCM_state.state)); (unsigned int)SDL_arraysize(IMA_ADPCM_state.state));
return (-1); return (-1);
} }
state = IMA_ADPCM_state.state; state = IMA_ADPCM_state.state;