From 20a751b888ce6562bb5645a0c8e2bd4a45911355 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 10 Oct 2004 18:51:05 +0000 Subject: [PATCH] fixed a signed/unsigned warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4620 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2