# HG changeset patch # User Gaƫl PORTAY # Date 1430575113 -7200 # Node ID 877256d1b3fba9bd4c51e15271fa8299a9b41262 # Parent c45d65392c1abc0adf9490db172fa217de1f09ce Expect len to be a type of socklen_t [-Werror=pointer-sign] diff -r c45d65392c1a -r 877256d1b3fb svr-x11fwd.c --- a/svr-x11fwd.c Sat May 02 15:59:06 2015 +0200 +++ b/svr-x11fwd.c Sat May 02 15:58:33 2015 +0200 @@ -107,7 +107,7 @@ int fd; struct sockaddr_in addr; - int len; + socklen_t len; int ret; struct ChanSess * chansess = (struct ChanSess *)(listener->typedata);