Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 28 Aug 2016 11:56:11 -0400
changeset 10285 9859cda24699
parent 10284 bd207addc5ec
child 10286 3b884985835c
Patched to compile.
src/audio/alsa/SDL_alsa_audio.c
--- a/src/audio/alsa/SDL_alsa_audio.c	Sun Aug 28 08:50:26 2016 -0700
+++ b/src/audio/alsa/SDL_alsa_audio.c	Sun Aug 28 11:56:11 2016 -0400
@@ -804,7 +804,7 @@
 
         /* 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);
         }
     }