summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
commit9fdab3ced8374b991bfadce0056cf5bdf7cfb3d6 (patch)
tree5da161bb2372d7a203dd39c616701ae090bb730d /tcpfwd.h
parentef0aac432c986f52a1b973bcd73ddf7324e0e70f (diff)
parent6e15e75391fc117125f50efd9f3d8ed646596da9 (diff)
Merge branch 'fix-pointer-sign-warnings' into fix-warnings
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index 51a1575..64139f0 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -31,16 +31,16 @@ struct TCPListener {
/* For a direct-tcpip request, it's the addr/port we want the other
* end to connect to */
- unsigned char *sendaddr;
+ char *sendaddr;
unsigned int sendport;
/* This is the address/port that we listen on. The address has special
* meanings as per the rfc, "" for all interfaces, "localhost" for
* localhost, or a normal interface name. */
- unsigned char *listenaddr;
+ char *listenaddr;
unsigned int listenport;
/* The address that the remote host asked to listen on */
- unsigned char *request_listenaddr;
+ char *request_listenaddr;
const struct ChanType *chantype;
enum {direct, forwarded} tcp_type;
@@ -48,9 +48,9 @@ struct TCPListener {
/* A forwarding entry */
struct TCPFwdEntry {
- const unsigned char* connectaddr;
+ const char *connectaddr;
unsigned int connectport;
- const unsigned char* listenaddr;
+ const char *listenaddr;
unsigned int listenport;
unsigned int have_reply; /* is set to 1 after a reply has been received
when setting up the forwarding */