From: divverent Date: Sat, 18 Dec 2010 20:06:14 +0000 (+0000) Subject: fix a warning X-Git-Tag: xonotic-v0.1.0preview~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4c3c31a7449f10577a59fd6a16bd44463e29f88;p=xonotic%2Fdarkplaces.git fix a warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10672 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=1eb56b522ecd9252242470d388c0ad7272f3f26d --- diff --git a/vid_wgl.c b/vid_wgl.c index 81e45c3b..49a55fe6 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -2198,7 +2198,7 @@ int IN_JoystickGetAxisNum(int ControlListType) int i; for (i = 0; i < JOY_MAX_AXES; i++) - if (dwAxisMap[i] == ControlListType) + if (dwAxisMap[i] == (DWORD) ControlListType) return i; return -1; }