diff svr-tcpfwd.c @ 1094:c45d65392c1a

Fix pointer differ in signess warnings [-Werror=pointer-sign]
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 15:59:06 +0200
parents 0da8ba489c23
children db7963049308
line wrap: on
line diff
--- a/svr-tcpfwd.c	Sat May 02 16:02:22 2015 +0200
+++ b/svr-tcpfwd.c	Sat May 02 15:59:06 2015 +0200
@@ -237,7 +237,7 @@
 	unsigned char* orighost = NULL;
 	unsigned int origport;
 	char portstring[NI_MAXSERV];
-	int len;
+	unsigned int len;
 	int err = SSH_OPEN_ADMINISTRATIVELY_PROHIBITED;
 
 	TRACE(("newtcpdirect channel %d", channel->index))