Fixed mingw64 build and warnings

This commit is contained in:
Sam Lantinga
2014-07-07 10:26:28 -07:00
parent ac112e5f09
commit 1ee96bb994
16 changed files with 43 additions and 46 deletions

View File

@@ -345,7 +345,7 @@ IMA_ADPCM_decode(Uint8 ** audio_buf, Uint32 * audio_len)
/* Check to make sure we have enough variables in the state array */
channels = IMA_ADPCM_state.wavefmt.channels;
if (channels > SDL_arraysize(IMA_ADPCM_state.state)) {
SDL_SetError("IMA ADPCM decoder can only handle %zu channels",
SDL_SetError("IMA ADPCM decoder can only handle %u channels",
SDL_arraysize(IMA_ADPCM_state.state));
return (-1);
}