projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b57f6e
)
Add a cast for a char * vs unsigned char * conflict.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 11 Jan 2003 14:08:46 +0000
(14:08 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 11 Jan 2003 14:08:46 +0000
(14:08 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2541
cda61777
-01e9-0310-a592-
d414129be87e
x11fwd.c
patch
|
blob
|
blame
|
history
diff --git
a/x11fwd.c
b/x11fwd.c
index
56b6eae
..
5ef53d4
100644
(file)
--- a/
x11fwd.c
+++ b/
x11fwd.c
@@
-401,7
+401,8
@@
int x11_send(Socket s, char *data, int len)
PUT_16BIT_MSB_FIRST(realauthdata+12, port);
t = time(NULL);
PUT_32BIT_MSB_FIRST(realauthdata+14, t);
- des_encrypt_xdmauth(pr->auth->realdata+9, realauthdata, 24);
+ des_encrypt_xdmauth(pr->auth->realdata+9,
+ (unsigned char *)realauthdata, 24);
}
/* implement other auth methods here if required */