diff -r f2f12297e904 -r 159762ee0f2d src/win32/libc_interface.c --- a/src/win32/libc_interface.c Wed Jul 28 00:51:27 2004 +0000 +++ b/src/win32/libc_interface.c Wed Jul 28 04:25:32 2004 +0000 @@ -100,7 +100,7 @@ return 0; } -int wgaim_setsockopt(int socket, int level, int optname, void *optval, socklen_t optlen) { +int wgaim_setsockopt(int socket, int level, int optname, const void *optval, socklen_t optlen) { if(setsockopt(socket, level, optname, optval, optlen) == SOCKET_ERROR ) { errno = WSAGetLastError(); return -1;