]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed signed vs. unsigned warning
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jan 2010 18:37:00 +0000 (18:37 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jan 2010 18:37:00 +0000 (18:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9787 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 23c3fdb0822103b3c61c81e4763f2d399ef3b120..72e868fb19df32d2f9fdbb8b0caa4d6eb3872226 100644 (file)
--- 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