Skip to content

Commit

Permalink
Fixed compiler warning on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 7, 2014
1 parent c5812c5 commit 73cb234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_wave.c
Expand Up @@ -346,7 +346,7 @@ IMA_ADPCM_decode(Uint8 ** audio_buf, Uint32 * audio_len)
channels = IMA_ADPCM_state.wavefmt.channels;
if (channels > SDL_arraysize(IMA_ADPCM_state.state)) {
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);
}
state = IMA_ADPCM_state.state;
Expand Down

0 comments on commit 73cb234

Please sign in to comment.