X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/e99cd73fed21152a2cea8d43cd76d33eda408b08..11a60120eed82422fee571d92bb31b9d2746498c:/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 */