(w32_socket) [_WIN32]: Correct the return type to SOCKET

for the select() call.
This commit is contained in:
Ron Koenderink 2007-12-17 13:18:19 +00:00
parent c55abd60bd
commit 402e6a1cf7

View file

@ -94,7 +94,7 @@ sysdep_init(void)
int int
w32_socket(int family, int sock_type, int protocol) w32_socket(int family, int sock_type, int protocol)
{ {
unsigned int result; SOCKET result;
result = socket(family, sock_type, protocol); result = socket(family, sock_type, protocol);
if (result == INVALID_SOCKET) { if (result == INVALID_SOCKET) {