From a56315cd48e2880d25848343077746e247f80eaa Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 3 Sep 2024 13:24:27 -0700
Subject: [PATCH] Fixed return value failing to load pulseaudio functions
---
src/audio/pulseaudio/SDL_pulseaudio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/pulseaudio/SDL_pulseaudio.c b/src/audio/pulseaudio/SDL_pulseaudio.c
index d503dc6ae65b7..6318f93130ae5 100644
--- a/src/audio/pulseaudio/SDL_pulseaudio.c
+++ b/src/audio/pulseaudio/SDL_pulseaudio.c
@@ -150,7 +150,7 @@ static bool load_pulseaudio_sym(const char *fn, void **addr)
// cast funcs to char* first, to please GCC's strict aliasing rules.
#define SDL_PULSEAUDIO_SYM(x) \
if (!load_pulseaudio_sym(#x, (void **)(char *)&PULSEAUDIO_##x)) \
- return -1
+ return false
static void UnloadPulseAudioLibrary(void)
{