X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/48406e6b01ff451976b1ef042b723c117e6c40f2..7108a872e03aff0fbc4dfb4b7f0f9718d45463b2:/ssh.c diff --git a/ssh.c b/ssh.c index 809f4af4..5196b1b3 100644 --- a/ssh.c +++ b/ssh.c @@ -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);