mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -05:00
Add a cast for a char * vs unsigned char * conflict.
[originally from svn r2541]
This commit is contained in:
parent
0ea918fb3a
commit
8adae8f2ff
3
x11fwd.c
3
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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user