testaudiostreamdynamicresample.c: Fixed MSVC compiler warning.

main
Ryan C. Gordon 2023-07-22 10:37:10 -04:00
parent dbf993d358
commit 66bcee2ca9
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}