summaryrefslogtreecommitdiffstats
path: root/src/core/network
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-22 04:14:21 +0200
committerLioncash <mathew1800@gmail.com>2020-10-22 04:14:23 +0200
commitea20b5c970cb261df93743803a227fafd5403d02 (patch)
treeb0f78e977fef8b78169a5c8df2105cd573ad21fa /src/core/network
parentMerge pull request #4811 from lioncash/warn-video (diff)
downloadyuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.gz
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.bz2
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.lz
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.xz
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.zst
yuzu-ea20b5c970cb261df93743803a227fafd5403d02.zip
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) {
}
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) {