Skip to content

Commit

Permalink
Fix/bludgeon Mac compile wrinkles.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.tartarus.org/sgt/putty@5154 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information
owen committed Jan 20, 2005
1 parent e99cd73 commit 11a6012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cproxy.c
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion x11fwd.c
Expand Up @@ -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
Expand Down

0 comments on commit 11a6012

Please sign in to comment.