From 9989f92eeee19a3bd390c2a7726d1b3eb36863f7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 3 Feb 2024 11:14:29 -0800 Subject: [PATCH] Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch --- test/testautomation_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_audio.c b/test/testautomation_audio.c index 42d90fde6..7b4659861 100644 --- a/test/testautomation_audio.c +++ b/test/testautomation_audio.c @@ -54,7 +54,7 @@ static void SDLCALL audio_testCallback(void *userdata, Uint8 *stream, int len) } #endif -static SDL_AudioDeviceID g_audio_id = -1; +static SDL_AudioDeviceID g_audio_id = 0; /* Test case functions */