Fixed compiler warning on Mac OS X
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 10:38:10 -0700
changeset 898066824b0e330a
parent 8979 1e283b7a1580
child 8981 68e0819f0f56
Fixed compiler warning on Mac OS X
src/audio/SDL_wave.c
     1.1 --- a/src/audio/SDL_wave.c	Sat Jul 05 16:11:23 2014 -0700
     1.2 +++ b/src/audio/SDL_wave.c	Mon Jul 07 10:38:10 2014 -0700
     1.3 @@ -346,7 +346,7 @@
     1.4      channels = IMA_ADPCM_state.wavefmt.channels;
     1.5      if (channels > SDL_arraysize(IMA_ADPCM_state.state)) {
     1.6          SDL_SetError("IMA ADPCM decoder can only handle %u channels",
     1.7 -                     SDL_arraysize(IMA_ADPCM_state.state));
     1.8 +                     (unsigned int)SDL_arraysize(IMA_ADPCM_state.state));
     1.9          return (-1);
    1.10      }
    1.11      state = IMA_ADPCM_state.state;