changeset 1095:877256d1b3fb

Expect len to be a type of socklen_t [-Werror=pointer-sign]
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 15:58:33 +0200
parents c45d65392c1a
children a9e4d66ffb2c
files svr-x11fwd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);