From 5d279c535afff8e7745989a7a4f35731e8e7ed00 Mon Sep 17 00:00:00 2001 From: eihrul Date: Tue, 5 Jan 2010 18:37:00 +0000 Subject: [PATCH] fixed signed vs. unsigned warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9787 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.c b/console.c index 23c3fdb0..72e868fb 100644 --- a/console.c +++ b/console.c @@ -1384,7 +1384,7 @@ void Con_DrawInput (void) y = (int)strlen(text); // append enoug nul-bytes to cover the utf8-versions of the cursor too - for (i = y; i < y + 4 && i < sizeof(editlinecopy); ++i) + for (i = y; i < y + 4 && i < (int)sizeof(editlinecopy); ++i) text[i] = 0; // add the cursor frame -- 2.39.2