diff --git a/test/testaudiostreamdynamicresample.c b/test/testaudiostreamdynamicresample.c index 609bd646d..761effde6 100644 --- a/test/testaudiostreamdynamicresample.c +++ b/test/testaudiostreamdynamicresample.c @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) } /* keep it looping. */ - if (SDL_GetAudioStreamAvailable(stream) < (audio_len / 2)) { + if (SDL_GetAudioStreamAvailable(stream) < ((int) (audio_len / 2))) { SDL_PutAudioStreamData(stream, audio_buf, audio_len); }