Fixed incorrect cast in WSOCK32_send and WSOCK32_recvfrom.
This commit is contained in:
parent
e533a3f130
commit
9a8a106f2b
|
@ -1711,7 +1711,7 @@ INT WINAPI WSOCK32_recvfrom(SOCKET s, char *buf, INT len, INT flags,
|
|||
#endif
|
||||
close(fd);
|
||||
_enable_event(s, FD_READ, 0, 0);
|
||||
return (INT16)length;
|
||||
return length;
|
||||
}
|
||||
SetLastError(wsaErrno());
|
||||
close(fd);
|
||||
|
@ -1855,7 +1855,7 @@ INT WINAPI WSOCK32_send(SOCKET s, char *buf, INT len, INT flags)
|
|||
else
|
||||
{
|
||||
close(fd);
|
||||
return (INT16)length;
|
||||
return length;
|
||||
}
|
||||
close(fd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue