Browse Source

Patched to compile.

Ryan C. Gordon 8 years ago
parent
commit
06dcdc7d48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/alsa/SDL_alsa_audio.c

+ 1 - 1
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);
         }
     }