net/StaticSocketAddress: use SocketAddress::size_type
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
StaticSocketAddress &
|
||||
StaticSocketAddress::operator=(SocketAddress other)
|
||||
{
|
||||
size = std::min(size_t(other.GetSize()), GetCapacity());
|
||||
size = std::min(other.GetSize(), GetCapacity());
|
||||
memcpy(&address, other.GetAddress(), size);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user