Network: Fix compilation on Linux x86 (Fixes #81)

Former-commit-id: b9ee4a38914e101751907a0afd5bc4387c4cc595 [formerly fbd619850d74c3264eead6456950549a00445a48] [formerly 38aa0d99632748baef4bdbed948e97d3348fd7c3 [formerly 24dc3d90f246b8a437a6fc1ace1b3091fd0e8df9]]
Former-commit-id: 37cfa200c8effe1822e9e2c8dd3224f8d4138c9d [formerly 5a4fdb8f93bcef49702e73d3ca8c7f5a1be56716]
Former-commit-id: 3e444884880bb866d4b66b5d4531272a02ac4125
This commit is contained in:
Jérôme Leclercq 2016-10-08 20:55:00 +02:00 committed by GitHub
parent 1788cd0735
commit 96a886260e
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ namespace Nz
return IpAddressImpl::FromSockAddr(reinterpret_cast<sockaddr*>(nameBuffer.data()));
}
int SocketImpl::Poll(PollSocket* fdarray, unsigned long nfds, int timeout, SocketError* error)
int SocketImpl::Poll(PollSocket* fdarray, std::size_t nfds, int timeout, SocketError* error)
{
NazaraAssert(fdarray && nfds > 0, "Invalid fdarray");