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
|
#endif
|
||||||
close(fd);
|
close(fd);
|
||||||
_enable_event(s, FD_READ, 0, 0);
|
_enable_event(s, FD_READ, 0, 0);
|
||||||
return (INT16)length;
|
return length;
|
||||||
}
|
}
|
||||||
SetLastError(wsaErrno());
|
SetLastError(wsaErrno());
|
||||||
close(fd);
|
close(fd);
|
||||||
@ -1855,7 +1855,7 @@ INT WINAPI WSOCK32_send(SOCKET s, char *buf, INT len, INT flags)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
close(fd);
|
close(fd);
|
||||||
return (INT16)length;
|
return length;
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user