From: eihrul Date: Tue, 5 Jan 2010 18:37:00 +0000 (+0000) Subject: fixed signed vs. unsigned warning X-Git-Tag: xonotic-v0.1.0preview~230^2~678 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d279c535afff8e7745989a7a4f35731e8e7ed00;p=xonotic%2Fdarkplaces.git fixed signed vs. unsigned warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9787 d7cf8633-e32d-0410-b094-e92efae38249 --- 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