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 --- src/ingen/ingen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ingen/ingen.cpp') diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index 80f7ab36..fd9a3578 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -90,7 +90,8 @@ print_version() int main(int argc, char** argv) { - ingen::set_bundle_path_from_code((void*)&print_version); + ingen::set_bundle_path_from_code( + reinterpret_cast(&print_version)); // Create world try { -- cgit v1.2.1