From d79e04a9408af5292ad5bd5bbbaf5bb63020d4d2 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 26 Sep 2010 06:40:31 +0000 Subject: [PATCH] fix warnings in terencehill's code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10497 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=e2ca60e84ef1525d1b097548534e6ab1c96885b2 --- keys.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keys.c b/keys.c index c76e303f..d182291c 100644 --- a/keys.c +++ b/keys.c @@ -224,7 +224,7 @@ static void Key_History_Find_Backwards(void) for ( ; i >= 0; i--) if (matchpattern_with_separator(ConBuffer_GetLine(&history, i), partial, true, "", false)) { - Con_Printf("^2%*i^7 %s\n", digits, i+1, ConBuffer_GetLine(&history, i)); + Con_Printf("^2%*i^7 %s\n", (int)digits, i+1, ConBuffer_GetLine(&history, i)); history_line = i; history_matchfound = true; return; @@ -255,7 +255,7 @@ static void Key_History_Find_Forwards(void) for ( ; i < CONBUFFER_LINES_COUNT(&history); i++) if (matchpattern_with_separator(ConBuffer_GetLine(&history, i), partial, true, "", false)) { - Con_Printf("^2%*i^7 %s\n", digits, i+1, ConBuffer_GetLine(&history, i)); + Con_Printf("^2%*i^7 %s\n", (int)digits, i+1, ConBuffer_GetLine(&history, i)); history_line = i; history_matchfound = true; return; @@ -277,7 +277,7 @@ static void Key_History_Find_All(void) for (i=0; i