diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index 3baf42cad..66d731e3d 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -2849,7 +2849,7 @@ void P_GetInput(int playerNum) } } - int const aimMode = (g_myAimMode) ? analog_lookingupanddown : ud.config.MouseAnalogueAxes[1]; + int32_t const aimMode = (g_myAimMode) ? (int32_t)analog_lookingupanddown : ud.config.MouseAnalogueAxes[1]; if (aimMode != mouseyaxismode) {