core: Fix clang build pt.3
Should finally resolve building with clang.
This commit is contained in:
parent
1fc61d09d3
commit
ea20b5c970
4 changed files with 6 additions and 16 deletions
|
@ -148,7 +148,7 @@ sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
|
|||
}
|
||||
|
||||
int WSAPoll(WSAPOLLFD* fds, ULONG nfds, int timeout) {
|
||||
return poll(fds, nfds, timeout);
|
||||
return poll(fds, static_cast<nfds_t>(nfds), timeout);
|
||||
}
|
||||
|
||||
int closesocket(SOCKET fd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue