Network: Replace unsigned int by size_t for size

Former-commit-id: efa7e2f50ae370f96871726be7906332ca8969a4
This commit is contained in:
Lynix
2016-02-04 13:27:06 +01:00
parent 33e2bb905b
commit f723d6a29c
8 changed files with 15 additions and 14 deletions

View File

@@ -3,7 +3,6 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Network/UdpSocket.hpp>
#include <Nazara/Network/Debug.hpp>
#if defined(NAZARA_PLATFORM_WINDOWS)
#include <Nazara/Network/Win32/SocketImpl.hpp>
@@ -13,6 +12,8 @@
#error Missing implementation: Socket
#endif
#include <Nazara/Network/Debug.hpp>
namespace Nz
{
SocketState UdpSocket::Bind(const IpAddress& address)
@@ -39,7 +40,7 @@ namespace Nz
}
}
unsigned int UdpSocket::QueryMaxDatagramSize()
std::size_t UdpSocket::QueryMaxDatagramSize()
{
NazaraAssert(m_handle != SocketImpl::InvalidHandle, "Socket hasn't been created");