From 06dcdc7d485763bcd42df0592b63b4735e454305 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 28 Aug 2016 11:56:11 -0400 Subject: [PATCH] Patched to compile. --- src/audio/alsa/SDL_alsa_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/alsa/SDL_alsa_audio.c b/src/audio/alsa/SDL_alsa_audio.c index 2011934ee..12de104e2 100644 --- a/src/audio/alsa/SDL_alsa_audio.c +++ b/src/audio/alsa/SDL_alsa_audio.c @@ -804,7 +804,7 @@ ALSA_HotplugThread(void *arg) /* Block awhile before checking again, unless we're told to stop. */ ticks = SDL_GetTicks() + 5000; - while (!SDL_AtomicGet(&ALSA_hotplug_shutdown) && !SDL_TICKS_PASSED(SDL_GetTicks(), ticks)) + while (!SDL_AtomicGet(&ALSA_hotplug_shutdown) && !SDL_TICKS_PASSED(SDL_GetTicks(), ticks)) { SDL_Delay(100); } }