mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 01:37:56 +08:00
Problem: unittest_mtrie fails on 32bit *nix
Solution: correctly dereference pointer in test.
This commit is contained in:
parent
173b54a8c9
commit
23025f44c6
@ -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])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user