]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed a signed/unsigned warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Oct 2004 18:51:05 +0000 (18:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Oct 2004 18:51:05 +0000 (18:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4620 d7cf8633-e32d-0410-b094-e92efae38249

vid_sdl.c

index 86af512877cddc86df2a4152f562e2a45da80e25..5dfb6242d29e1b52fc05d8b84fafaef4c8a2d67e 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -195,7 +195,7 @@ static unsigned int tbl_sdltoquake[] =
 #undef fiftyoh
 #undef hundredoh
 
-static int MapKey( int sdlkey )
+static int MapKey( unsigned int sdlkey )
 {
        if( sdlkey > sizeof(tbl_sdltoquake)/ sizeof(int) )
                return 0;