mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Fixed return value failing to load pulseaudio functions
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user