]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
fixed signed/unsigned mismatch warnings
[xonotic/darkplaces.git] / console.c
index 3cb08835c33335e1eada3588fc842973ec59cde9..dca8f08a571023540188fa3722b4fea564e1a1bc 100644 (file)
--- a/console.c
+++ b/console.c
@@ -571,7 +571,7 @@ void Con_Print(const char *msg)
                        }
                        // store timestamp
                        for (;*timestamp;index++, timestamp++)
-                               if (index < sizeof(line) - 2)
+                               if (index < (int)sizeof(line) - 2)
                                        line[index] = *timestamp;
                }
                // append the character