Description: Use an unsigned integer type. In order to silence compiler warnings, the integer type 'int' is replaced with the correct 'socklen_t' for socket manipulations. Author: Mats Erik Andersson Forwarded: no Last-Update: 2010-04-02 --- netpipes-4.2.orig/encapsulate.c +++ netpipes-4.2/encapsulate.c @@ -182,7 +182,8 @@ static int Im_server_p(sock_fd) int sock_fd; { struct sockaddr_in me, him; - int len, i; + socklen_t len; + int i; len = sizeof(me); getsockname(sock_fd, (struct sockaddr*)&me, &len); --- netpipes-4.2.orig/faucet.c +++ netpipes-4.2/faucet.c @@ -599,7 +599,7 @@ char ** argv; while (running) { { - int length; + socklen_t length; length = sizeof(saddr);