src/core/linux/SDL_dbus.c
changeset 11839 971881e55d61
parent 11811 5d94cb6b24d3
child 11868 5ec7bc5b3d12
     1.1 --- a/src/core/linux/SDL_dbus.c	Tue Jan 30 16:53:24 2018 -0800
     1.2 +++ b/src/core/linux/SDL_dbus.c	Tue Jan 30 18:08:34 2018 -0800
     1.3 @@ -33,7 +33,7 @@
     1.4  LoadDBUSSyms(void)
     1.5  {
     1.6      #define SDL_DBUS_SYM2(x, y) \
     1.7 -        if (!(dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
     1.8 +        if (!(*(void**)&dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
     1.9          
    1.10      #define SDL_DBUS_SYM(x) \
    1.11          SDL_DBUS_SYM2(x, dbus_##x)