]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
fixed signed/unsigned mismatch warnings
[xonotic/darkplaces.git] / host_cmd.c
index 3a62b1dfb75b2b62d6cc3f959c839a7ea0b9da24..00ea8a1a61b231eda7f8e2466472f970632d6c5e 100644 (file)
@@ -1024,7 +1024,7 @@ void Host_Tell_f(void)
        text[j++] = 0;
 
        save = host_client;
-       for (j = 0, host_client = svs.clients;j < svs.maxclients;j++, host_client++)
+       for (j = 0, host_client = svs.clients;j < (size_t)svs.maxclients;j++, host_client++)
                if (host_client->spawned && !strcasecmp(host_client->name, Cmd_Argv(1)))
                        SV_ClientPrint(text);
        host_client = save;