Fix warning: enumeral and non-enumeral type in conditional expression [-Wextra]

DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5982 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-01-01 13:23:41 +00:00
parent 533c017e93
commit 9af63dc497

View file

@ -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)
{