summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ingen_bench.cpp2
-rw-r--r--tests/ingen_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp
index e0232b01..0a042f94 100644
--- a/tests/ingen_bench.cpp
+++ b/tests/ingen_bench.cpp
@@ -59,7 +59,7 @@ real_path(const char* path)
int
main(int argc, char** argv)
{
- set_bundle_path_from_code((void*)&ingen_try);
+ set_bundle_path_from_code(reinterpret_cast<void(*)()>(&ingen_try));
// Create world
try {
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index eade1194..4d9823bc 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -74,7 +74,7 @@ real_file_path(const char* path)
int
main(int argc, char** argv)
{
- set_bundle_path_from_code((void*)&ingen_try);
+ set_bundle_path_from_code(reinterpret_cast<void(*)()>(&ingen_try));
// Create world
try {