mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-12-04 09:13:30 +08:00
Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch
This commit is contained in:
parent
cb811ba463
commit
9989f92eee
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user