Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
1093:aae71c5f7d5b | 1094:c45d65392c1a |
---|---|
235 unsigned char* desthost = NULL; | 235 unsigned char* desthost = NULL; |
236 unsigned int destport; | 236 unsigned int destport; |
237 unsigned char* orighost = NULL; | 237 unsigned char* orighost = NULL; |
238 unsigned int origport; | 238 unsigned int origport; |
239 char portstring[NI_MAXSERV]; | 239 char portstring[NI_MAXSERV]; |
240 int len; | 240 unsigned int len; |
241 int err = SSH_OPEN_ADMINISTRATIVELY_PROHIBITED; | 241 int err = SSH_OPEN_ADMINISTRATIVELY_PROHIBITED; |
242 | 242 |
243 TRACE(("newtcpdirect channel %d", channel->index)) | 243 TRACE(("newtcpdirect channel %d", channel->index)) |
244 | 244 |
245 if (svr_opts.nolocaltcp || !svr_pubkey_allows_tcpfwd()) { | 245 if (svr_opts.nolocaltcp || !svr_pubkey_allows_tcpfwd()) { |