]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - cproxy.c
Fix/bludgeon Mac compile wrinkles.
[PuTTY.git] / cproxy.c
index 7efcc234b446d6fbda1e4a5fde34a2d9ce917b0d..bf5eed5de4739b1493907a90daac058dc72a98d9 100644 (file)
--- 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 */