Use unsigned chars in protodiff.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 5 Feb 2005 00:58:43 +0000 (00:58 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 5 Feb 2005 00:58:43 +0000 (00:58 +0000)
protodiff.c

index 6bc8570..cf5c9c7 100644 (file)
@@ -17,7 +17,7 @@ int main()
 {
        int server_sock = create_server_socket();
        int sock_serv, sock_real, sock_fake;
-       char buf[4096], buf1[4096], buf2[4096];
+       unsigned char buf[4096], buf1[4096], buf2[4096];
        int len1, len2, i;
        
        tcp_recv_connect(server_sock);