From: havoc Date: Sun, 10 Oct 2004 18:51:05 +0000 (+0000) Subject: fixed a signed/unsigned warning X-Git-Tag: xonotic-v0.1.0preview~5499 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=20a751b888ce6562bb5645a0c8e2bd4a45911355;p=xonotic%2Fdarkplaces.git fixed a signed/unsigned warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4620 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index 86af5128..5dfb6242 100644 --- 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;