Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix/bludgeon Mac compile wrinkles.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5154 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information...
commit 11a60120eed82422fee571d92bb31b9d2746498c 1 parent e99cd73
owen authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  cproxy.c
  2. +1 −1  x11fwd.c
View
2  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 */
View
2  x11fwd.c
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.