1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Fix/bludgeon Mac compile wrinkles.

[originally from svn r5154]
This commit is contained in:
Owen Dunn 2005-01-20 16:42:25 +00:00
parent 37278b3bfc
commit eb4bb72cc6
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -241,7 +241,7 @@ char *x11_display(const char *display) {
char *ret;
if(!display || !*display) {
/* try to find platform-specific local display */
if(!(ret = platform_get_x_display()))
if((ret = platform_get_x_display())==0)
/* plausible default for all platforms */
ret = dupstr(":0");
} else