Commit 701fd1d9 authored by Max Kellermann's avatar Max Kellermann

net/IPv4Address: fix comment typo

parent d1bdea8e
......@@ -163,7 +163,7 @@ public:
*/
static constexpr const IPv4Address &Cast(const SocketAddress &src) noexcept {
/* 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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment