Merge pull request #2964 from bluca/fix_mtrie_32bit

Problem: unittest_mtrie fails on 32bit *nix
This commit is contained in:
Luca Boccassi 2018-03-02 19:06:51 +00:00 committed by GitHub
commit d54633add1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,8 +380,8 @@ void check_count (zmq::generic_mtrie_t<int>::prefix_t data_,
size_t len_,
int *count_)
{
--count_;
TEST_ASSERT_GREATER_OR_EQUAL (0, count_);
--(*count_);
TEST_ASSERT_GREATER_OR_EQUAL (0, *count_);
}
void add_duplicate_entry (zmq::generic_mtrie_t<int> &mtrie, int (&pipes)[2])