summaryrefslogtreecommitdiff
path: root/src/core/network
diff options
context:
space:
mode:
authorGravatar Lioncash2020-10-21 22:14:21 -0400
committerGravatar Lioncash2020-10-21 22:14:23 -0400
commitea20b5c970cb261df93743803a227fafd5403d02 (patch)
treeb0f78e977fef8b78169a5c8df2105cd573ad21fa /src/core/network
parentMerge pull request #4811 from lioncash/warn-video (diff)
downloadyuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.gz
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.xz
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.zip
core: Fix clang build pt.3
Should finally resolve building with clang.
Diffstat (limited to 'src/core/network')
-rw-r--r--src/core/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp
index 4b3bb4366..5ef2e8511 100644
--- a/src/core/network/network.cpp
+++ b/src/core/network/network.cpp
@@ -148,7 +148,7 @@ sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
148} 148}
149 149
150int WSAPoll(WSAPOLLFD* fds, ULONG nfds, int timeout) { 150int WSAPoll(WSAPOLLFD* fds, ULONG nfds, int timeout) {
151 return poll(fds, nfds, timeout); 151 return poll(fds, static_cast<nfds_t>(nfds), timeout);
152} 152}
153 153
154int closesocket(SOCKET fd) { 154int closesocket(SOCKET fd) {