aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/StaticSocketAddress.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/StaticSocketAddress.cxx')
-rw-r--r--src/net/StaticSocketAddress.cxx2
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;
}