From: Steinar H. Gunderson Date: Sat, 5 Feb 2005 00:58:43 +0000 (+0000) Subject: Use unsigned chars in protodiff. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=534175407a8327510507c89ea4080059e747e169;hp=6f05e40a5959c2cd0aac7427f6554608125af446;p=rdpsrv Use unsigned chars in protodiff. --- diff --git a/protodiff.c b/protodiff.c index 6bc8570..cf5c9c7 100644 --- a/protodiff.c +++ b/protodiff.c @@ -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);