2
0
Эх сурвалжийг харах

pipewire: spa_list_is_empty() returns bool

Sam Lantinga 1 жил өмнө
parent
commit
c9387bcca5

+ 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);
         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);
     PIPEWIRE_pw_thread_loop_unlock(hotplug_loop);