mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Merge pull request #2960 from Romain-Geissler-1A/fix-gcc-8-build
Fix gcc 8 build warning/error with -O3.
This commit is contained in:
commit
31387f84e4
@ -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_)
|
||||
|
Loading…
Reference in New Issue
Block a user