mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-11 13:05:16 +00:00
testaudiostreamdynamicresample.c: Fixed MSVC compiler warning.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user