1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 21:42:47 -05:00

Fix a couple of signedness compiler warnings, presumably due to me

using a different version of gcc from before.

[originally from svn r7627]
This commit is contained in:
Simon Tatham
2007-06-30 18:18:20 +00:00
parent fd26b64c74
commit 90e7bf4228
2 changed files with 2 additions and 2 deletions

2
ssh.c
View File

@ -5756,7 +5756,7 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
*/
s->pktout = ssh2_pkt_init(SSH2_MSG_KEXRSA_SECRET);
ssh2_pkt_addstring_start(s->pktout);
ssh2_pkt_addstring_data(s->pktout, outstr, outstrlen);
ssh2_pkt_addstring_data(s->pktout, (char *)outstr, outstrlen);
ssh2_pkt_send_noqueue(ssh, s->pktout);
hash_string(ssh->kex->hash, ssh->exhash, outstr, outstrlen);