Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch

This commit is contained in:
Sam Lantinga 2024-02-03 11:14:29 -08:00
parent cb811ba463
commit 9989f92eee

View File

@ -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 */