From ea20b5c970cb261df93743803a227fafd5403d02 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Oct 2020 22:14:21 -0400 Subject: core: Fix clang build pt.3 Should finally resolve building with clang. --- src/core/network/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/network') 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), timeout); } int closesocket(SOCKET fd) { -- cgit v1.2.3