X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f33ba69e92f389f5884eae5a586858a629a5260b..4e95a413c2909c807226e5efc09da4c8ba24740e:/cproxy.c diff --git a/cproxy.c b/cproxy.c index 7efcc234..bf5eed5d 100644 --- a/cproxy.c +++ b/cproxy.c @@ -131,7 +131,7 @@ int proxy_socks5_handlechap (Proxy_Socket p) outbuf[3] = 0x10; /* Length */ hmacmd5_chap(data, p->chap_current_datalen, p->cfg.proxy_password, &outbuf[4]); - sk_write(p->sub_socket, outbuf, 20); + sk_write(p->sub_socket, (char *)outbuf, 20); break; case 0x11: /* Chose a protocol */