diff options
Diffstat (limited to '')
-rw-r--r-- | src/net/StaticSocketAddress.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/StaticSocketAddress.cxx b/src/net/StaticSocketAddress.cxx index 15e8a9e44..d74df016c 100644 --- a/src/net/StaticSocketAddress.cxx +++ b/src/net/StaticSocketAddress.cxx @@ -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; } |