diff --git a/src/common/platform/posix/cocoa/i_joystick.cpp b/src/common/platform/posix/cocoa/i_joystick.cpp index 6f0e22c8b..9a003acac 100644 --- a/src/common/platform/posix/cocoa/i_joystick.cpp +++ b/src/common/platform/posix/cocoa/i_joystick.cpp @@ -1066,7 +1066,7 @@ void IOKitJoystickManager::UseAxesPolling(const bool axesPolling) void PostDeviceChangeEvent() { - const event_t event = { EV_DeviceChange }; + event_t event = { EV_DeviceChange }; D_PostEvent(&event); }