]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
fixed several warnings that appear with -std=gnu99 -pedantic
[xonotic/darkplaces.git] / host_cmd.c
index b3b7b9bb0a8e45e720f31da697c870a7d6cc2f1d..949c4802cda10906b1ab76b66150a95ceac4a2f1 100644 (file)
@@ -2660,7 +2660,7 @@ void Host_Packet_f (void) // credit: taken from QuakeWorld
 
        in = Cmd_Argv(2);
        out = send+4;
-       send[0] = send[1] = send[2] = send[3] = 0xff;
+       send[0] = send[1] = send[2] = send[3] = -1;
 
        l = (int)strlen (in);
        for (i=0 ; i<l ; i++)