]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
added a 64bif fs_offset_t type to clean up most of the mess
[xonotic/darkplaces.git] / host_cmd.c
index 7a533d9b2d2893f36670b870d96fdffab238da75..b3cd8a7f75b5e6221e8e2e505f22a2e750d35fd9 100644 (file)
@@ -1018,7 +1018,7 @@ void Host_Tell_f(void)
        }
        while (p2 > p1 && (p2[-1] == '\n' || p2[-1] == '\r'))
                p2--;
-       for (j = strlen(text);j < (int)(sizeof(text) - 2) && p1 < p2;)
+       for (j = (int)strlen(text);j < (int)(sizeof(text) - 2) && p1 < p2;)
                text[j++] = *p1++;
        text[j++] = '\n';
        text[j++] = 0;