~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a cast for a char * vs unsigned char * conflict.
[sgt/putty]
/
x11fwd.c
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);
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 */
}
/* implement other auth methods here if required */