]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a warning
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2010 20:06:14 +0000 (20:06 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2010 20:06:14 +0000 (20:06 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10672 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index 81e45c3b84666b556b29bb9db612bb784f2c50e4..49a55fe656b491b18a4482bacfff77e1fff9a7f9 100644 (file)
--- 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;
 }