Mercurial > dropbear
comparison tcp-accept.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 | 5daedffd0769 |
children | 2c646a65a1e3 |
comparison
equal
deleted
inserted
replaced
1093:aae71c5f7d5b | 1094:c45d65392c1a |
---|---|
96 } | 96 } |
97 buf_putstring(ses.writepayload, addr, strlen(addr)); | 97 buf_putstring(ses.writepayload, addr, strlen(addr)); |
98 buf_putint(ses.writepayload, port); | 98 buf_putint(ses.writepayload, port); |
99 | 99 |
100 /* originator ip */ | 100 /* originator ip */ |
101 buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); | 101 buf_putstring(ses.writepayload, (const unsigned char *)ipstring, strlen(ipstring)); |
102 /* originator port */ | 102 /* originator port */ |
103 buf_putint(ses.writepayload, atol(portstring)); | 103 buf_putint(ses.writepayload, atol(portstring)); |
104 | 104 |
105 encrypt_packet(); | 105 encrypt_packet(); |
106 | 106 |