From b453818f17a84c01d679088e5a377e244a231981 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Jul 2020 17:13:14 +0200 Subject: Make set_bundle_path_from_code take a function pointer --- tests/ingen_bench.cpp | 2 +- tests/ingen_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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(&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(&ingen_try)); // Create world try { -- cgit v1.2.1