tcpip-forward.c: Fixed warning that pointer targets differ in signedness

libssh2_channel_forward_listen_ex uses ints instead of unsigned ints.
This commit is contained in:
Marc Hoersken 2014-05-18 11:35:19 +02:00
parent 5bcc2d4629
commit 0e4e14109a

View File

@ -35,11 +35,11 @@ const char *password = "";
const char *server_ip = "127.0.0.1"; const char *server_ip = "127.0.0.1";
const char *remote_listenhost = "localhost"; /* resolved by the server */ const char *remote_listenhost = "localhost"; /* resolved by the server */
unsigned int remote_wantport = 2222; int remote_wantport = 2222;
unsigned int remote_listenport; int remote_listenport;
const char *local_destip = "127.0.0.1"; const char *local_destip = "127.0.0.1";
unsigned int local_destport = 22; int local_destport = 22;
enum { enum {
AUTH_NONE = 0, AUTH_NONE = 0,