Unverified Commit d54633ad authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2964 from bluca/fix_mtrie_32bit

Problem: unittest_mtrie fails on 32bit *nix
parents 173b54a8 23025f44
...@@ -380,8 +380,8 @@ void check_count (zmq::generic_mtrie_t<int>::prefix_t data_, ...@@ -380,8 +380,8 @@ void check_count (zmq::generic_mtrie_t<int>::prefix_t data_,
size_t len_, size_t len_,
int *count_) int *count_)
{ {
--count_; --(*count_);
TEST_ASSERT_GREATER_OR_EQUAL (0, count_); TEST_ASSERT_GREATER_OR_EQUAL (0, *count_);
} }
void add_duplicate_entry (zmq::generic_mtrie_t<int> &mtrie, int (&pipes)[2]) void add_duplicate_entry (zmq::generic_mtrie_t<int> &mtrie, int (&pipes)[2])
......
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