(w32_socket) [_WIN32]: Correct the return type to SOCKET
for the select() call.
This commit is contained in:
parent
c55abd60bd
commit
402e6a1cf7
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue