Unverified Commit 31387f84 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2960 from Romain-Geissler-1A/fix-gcc-8-build

Fix gcc 8 build warning/error with -O3.
parents b575b05d 1e03f7b2
......@@ -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