Commit 1e03f7b2 authored by Romain Geissler's avatar Romain Geissler

Fix gcc 8 build warning/error with -O3.

parent b575b05d
......@@ -536,7 +536,7 @@ const char *zmq::msg_t::group ()
int zmq::msg_t::set_group (const char *group_)
{
return set_group (group_, strlen (group_));
return set_group (group_, ZMQ_GROUP_MAX_LENGTH);
}
int zmq::msg_t::set_group (const char *group_, size_t length_)
......
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