mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 07:48:42 +00:00
Fixed return value failing to load pulseaudio functions
This commit is contained in:
parent
7ca676aeed
commit
a56315cd48
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue