From 0e4e14109a82efc1ebcf9f1ab1c0260b87a46e08 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 18 May 2014 11:35:19 +0200 Subject: [PATCH] tcpip-forward.c: Fixed warning that pointer targets differ in signedness libssh2_channel_forward_listen_ex uses ints instead of unsigned ints. --- example/tcpip-forward.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/tcpip-forward.c b/example/tcpip-forward.c index c870803..7480424 100644 --- a/example/tcpip-forward.c +++ b/example/tcpip-forward.c @@ -35,11 +35,11 @@ const char *password = ""; const char *server_ip = "127.0.0.1"; const char *remote_listenhost = "localhost"; /* resolved by the server */ -unsigned int remote_wantport = 2222; -unsigned int remote_listenport; +int remote_wantport = 2222; +int remote_listenport; const char *local_destip = "127.0.0.1"; -unsigned int local_destport = 22; +int local_destport = 22; enum { AUTH_NONE = 0,