]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
fixed all the signed/unsigned mismatch warnings
[xonotic/darkplaces.git] / console.c
index 941e6124bbb59200cb660c5a2f4c2a7a048165a8..e323915b2c35b0a5069750a94644ba7daf41d420 100644 (file)
--- a/console.c
+++ b/console.c
@@ -543,7 +543,7 @@ void Con_DrawNotify (void)
                        sprintf(temptext, "say_team:%s%c", chat_buffer, (int) 10+((int)(realtime*con_cursorspeed)&1));
                else
                        sprintf(temptext, "say:%s%c", chat_buffer, (int) 10+((int)(realtime*con_cursorspeed)&1));
-               while (strlen(temptext) >= con_linewidth)
+               while (strlen(temptext) >= (size_t) con_linewidth)
                {
                        DrawQ_String (0, v, temptext, con_linewidth, 8, 8, 1, 1, 1, 1, 0);
                        strcpy(temptext, &temptext[con_linewidth]);