aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:23:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:30:54 +0300
commit78dcc924cd0fedc1e9810fdfc08e6afdb1315057 (patch)
tree9c3db0fb7e5652ea7f9907d4ac6a8142d5fba953 /test/unit_tests
parentclean up includes (diff)
downloadwinapi-debug-78dcc924cd0fedc1e9810fdfc08e6afdb1315057.tar.gz
winapi-debug-78dcc924cd0fedc1e9810fdfc08e6afdb1315057.zip
fix GCC builds
Diffstat (limited to '')
-rw-r--r--test/unit_tests/fixtures.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp
index 7572e0e..85451d4 100644
--- a/test/unit_tests/fixtures.hpp
+++ b/test/unit_tests/fixtures.hpp
@@ -49,7 +49,9 @@ public:
typedef Set<pdb::Address> AddressList;
static AddressList expected_function_addresses() {
- return cast({&test_ns::foo, &test_ns::bar, &test_ns::baz});
+ return cast({reinterpret_cast<void*>(&test_ns::foo),
+ reinterpret_cast<void*>(&test_ns::bar),
+ reinterpret_cast<void*>(&test_ns::baz)});
}
static SymbolList expected_functions() { return make_qualified({"foo", "bar", "baz"}); }