Commit a8095a10 authored by Simon Giesecke's avatar Simon Giesecke

Problem: C4800 warning in ip_resolver.cpp

Solution: fix type specification
parent 95c770a2
......@@ -33,7 +33,7 @@ bool zmq::ip_addr_t::is_multicast () const
return IN_MULTICAST (ntohl (ipv4.sin_addr.s_addr));
} else {
// IPv6 Multicast: ff00::/8
return IN6_IS_ADDR_MULTICAST (&ipv6.sin6_addr);
return IN6_IS_ADDR_MULTICAST (&ipv6.sin6_addr) != 0;
}
}
......
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