summaryrefslogtreecommitdiffstats
path: root/src/ingen/ingen.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-19 17:13:14 +0200
committerDavid Robillard <d@drobilla.net>2020-08-01 11:50:43 +0200
commitb453818f17a84c01d679088e5a377e244a231981 (patch)
tree66e0c71912fb975fb753905a7c9b1efa1f5a85a8 /src/ingen/ingen.cpp
parent381c4a77fe5864cd3aed3854b75acf2a52f6a74d (diff)
downloadingen-b453818f17a84c01d679088e5a377e244a231981.tar.gz
ingen-b453818f17a84c01d679088e5a377e244a231981.tar.bz2
ingen-b453818f17a84c01d679088e5a377e244a231981.zip
Make set_bundle_path_from_code take a function pointer
Diffstat (limited to 'src/ingen/ingen.cpp')
-rw-r--r--src/ingen/ingen.cpp3
1 files changed, 2 insertions, 1 deletions
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<void (*)()>(&print_version));
// Create world
try {