Skip to content
Permalink
Browse files

Fixed compiler warning on Mac OS X

  • Loading branch information
slouken committed Jul 7, 2014
1 parent c5812c5 commit 73cb234b5c8ea0197424fb93f40debdf2d322efa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/SDL_wave.c
@@ -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;

0 comments on commit 73cb234

Please sign in to comment.