From c9387bcca5eb10d4fee3eab21b033b5e08b430c0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 3 Sep 2024 13:45:00 -0700 Subject: [PATCH] pipewire: spa_list_is_empty() returns bool --- src/audio/pipewire/SDL_pipewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c index d60d67d0b44b8..ca23a59a15ba6 100644 --- a/src/audio/pipewire/SDL_pipewire.c +++ b/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);