Skip to content

Commit

Permalink
Merge pull request #2964 from bluca/fix_mtrie_32bit
Browse files Browse the repository at this point in the history
Problem: unittest_mtrie fails on 32bit *nix
  • Loading branch information
bluca authored Mar 2, 2018
2 parents 173b54a + 23025f4 commit d54633a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/unittest_mtrie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit d54633a

Please sign in to comment.