Parcourir la source

pipewire: spa_list_is_empty() returns bool

Sam Lantinga il y a 7 mois
Parent
commit
c9387bcca5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/audio/pipewire/SDL_pipewire.c

+ 1 - 1
src/audio/pipewire/SDL_pipewire.c

@@ -1265,7 +1265,7 @@ static bool PIPEWIRE_PREFERRED_Init(SDL_AudioDriverImpl *impl)
         PIPEWIRE_pw_thread_loop_wait(hotplug_loop);
     }
 
-    const int no_devices = spa_list_is_empty(&hotplug_io_list);
+    const bool no_devices = spa_list_is_empty(&hotplug_io_list);
 
     PIPEWIRE_pw_thread_loop_unlock(hotplug_loop);