mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
In the unit tests, use "test_eq_ptr" and "test_neq_ptr" consistently
This is part of what's needed to build without warnings on mingw64:
it was warning about the cast from void* to long that happened in
the places we were using test_{n,}eq on pointers.
The alternative here would have been to broaden tt_int_op to accept
a long long or an intptr_t, but that's less correct (since pointers
aren't integers), and would hurt the portability of tinytest a
little.
Fixes part of 7260.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
o Minor bugfixes:
|
||||
- Compile on win64 using mingw64. Fixes bug 7260; patches from "yayooo".
|
||||
|
||||
|
||||
Reference in New Issue
Block a user