diff svr-x11fwd.c @ 1122:aaf576b27a10

Merge pull request #13 from gazoo74/fix-warnings Fix warnings
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Jun 2015 23:08:50 +0800
parents 877256d1b3fb
children a3e8389e01ff 888e3d17e962
line wrap: on
line diff
--- a/svr-x11fwd.c	Wed Jun 03 22:59:59 2015 +0800
+++ b/svr-x11fwd.c	Thu Jun 04 23:08:50 2015 +0800
@@ -107,7 +107,7 @@
 
 	int fd;
 	struct sockaddr_in addr;
-	int len;
+	socklen_t len;
 	int ret;
 	struct ChanSess * chansess = (struct ChanSess *)(listener->typedata);