net/IPv4Address: fix comment typo

This commit is contained in:
Max Kellermann
2019-01-20 20:59:43 +01:00
parent d1bdea8edb
commit 701fd1d939

View File

@@ -163,7 +163,7 @@ public:
*/ */
static constexpr const IPv4Address &Cast(const SocketAddress &src) noexcept { static constexpr const IPv4Address &Cast(const SocketAddress &src) noexcept {
/* this reinterpret_cast works because this class is /* this reinterpret_cast works because this class is
just a wrapper for struct sockaddr_in6 */ just a wrapper for struct sockaddr_in */
return *(const IPv4Address *)(const void *)src.GetAddress(); return *(const IPv4Address *)(const void *)src.GetAddress();
} }