mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 18:17:32 -05:00
Fix some missing void * and const in existing APIs.
Several changes here that should have been in commit 7babe66a8
but I
missed them.
This commit is contained in:
4
x11fwd.c
4
x11fwd.c
@ -800,8 +800,10 @@ static int x11_parse_ip(const char *addr_string, unsigned long *ip)
|
||||
/*
|
||||
* Called to send data down the raw connection.
|
||||
*/
|
||||
int x11_send(struct X11Connection *xconn, char *data, int len)
|
||||
int x11_send(struct X11Connection *xconn, const void *vdata, int len)
|
||||
{
|
||||
const char *data = (const char *)vdata;
|
||||
|
||||
if (!xconn)
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user