Fixed compiler warning on Mac OS X
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 10:38:10 -0700
changeset 8980 66824b0e330a
parent 8979 1e283b7a1580
child 8981 68e0819f0f56
Fixed compiler warning on Mac OS X
src/audio/SDL_wave.c
--- a/src/audio/SDL_wave.c	Sat Jul 05 16:11:23 2014 -0700
+++ b/src/audio/SDL_wave.c	Mon Jul 07 10:38:10 2014 -0700
@@ -346,7 +346,7 @@
     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;