diff options
author | Andrew Dunstan | 2011-04-25 16:56:53 +0000 |
---|---|---|
committer | Andrew Dunstan | 2011-04-25 16:56:53 +0000 |
commit | 860be17ec3c19a1aeba0bbe7ecaf30be409ea446 (patch) | |
tree | d15c287b1ce9ea89d220ec2bf963c1ef61a3792d /src/include/port/win32.h | |
parent | 77622887449f0fd0eb08b28fe4fa5992c357d45a (diff) |
Assorted minor changes to silence Windows compiler warnings.
Mostly to do with macro redefinitions or object signedness.
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 2914a59811f..34f40041298 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -336,7 +336,7 @@ SOCKET pgwin32_accept(SOCKET s, struct sockaddr * addr, int *addrlen); int pgwin32_connect(SOCKET s, const struct sockaddr * name, int namelen); int pgwin32_select(int nfds, fd_set *readfs, fd_set *writefds, fd_set *exceptfds, const struct timeval * timeout); int pgwin32_recv(SOCKET s, char *buf, int len, int flags); -int pgwin32_send(SOCKET s, char *buf, int len, int flags); +int pgwin32_send(SOCKET s, const void *buf, int len, int flags); const char *pgwin32_socket_strerror(int err); int pgwin32_waitforsinglesocket(SOCKET s, int what, int timeout); |