1
0
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:
Simon Tatham
2018-06-02 07:52:26 +01:00
parent 6ce79d8d22
commit 8d882756b8
5 changed files with 13 additions and 9 deletions

View File

@ -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;