mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Oops; reinstate one explicit cast to char *.
Annoyingly, none of my own builds picked up this accidental use of pointer arithmetic on a void *.
This commit is contained in:
parent
7babe66a83
commit
6070d2e3e2
2
x11fwd.c
2
x11fwd.c
@ -1057,7 +1057,7 @@ void *x11_make_greeting(int endian, int protomajor, int protominor,
|
||||
t = time(NULL);
|
||||
PUT_32BIT_MSB_FIRST(realauthdata+14, t);
|
||||
|
||||
des_encrypt_xdmauth(auth_data + 9, realauthdata, authdatalen);
|
||||
des_encrypt_xdmauth((char *)auth_data + 9, realauthdata, authdatalen);
|
||||
} else {
|
||||
authdata = realauthdata;
|
||||
authdatalen = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user