https://github.com/libsdl-org/SDL/commit/66bcee2ca93b4b0245a18e4f82b8cc2b10dc51b6
From 66bcee2ca93b4b0245a18e4f82b8cc2b10dc51b6 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 22 Jul 2023 10:37:10 -0400
Subject: [PATCH] testaudiostreamdynamicresample.c: Fixed MSVC compiler
warning.
---
test/testaudiostreamdynamicresample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/testaudiostreamdynamicresample.c b/test/testaudiostreamdynamicresample.c
index 609bd646dd6c..761effde680c 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);
}