testaudiostreamdynamicresample.c: Fixed MSVC compiler warning.

This commit is contained in:
Ryan C. Gordon committed 2023-07-30 11:56:38 -04:00
1 parent dbf993d358
commit 66bcee2ca9
1 file changed
+1 -1
+1 -1
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);
}