summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:57:56 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:51 +0100
commit1be7c1b92c06880cf21f79cfa5419240f14e4fa4 (patch)
treea083dab4d6c121d1b804e1cdb4c7d4ca3f163b29 /src/JackDbusDriver.cpp
parent3fd6ddb68761597d5c5c8e8b2b057731d4754577 (diff)
downloadpatchage-1be7c1b92c06880cf21f79cfa5419240f14e4fa4.tar.gz
patchage-1be7c1b92c06880cf21f79cfa5419240f14e4fa4.tar.bz2
patchage-1be7c1b92c06880cf21f79cfa5419240f14e4fa4.zip
Use static_cast to convert from void pointers
Diffstat (limited to 'src/JackDbusDriver.cpp')
-rw-r--r--src/JackDbusDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDbusDriver.cpp b/src/JackDbusDriver.cpp
index 9c913c0..d225c8a 100644
--- a/src/JackDbusDriver.cpp
+++ b/src/JackDbusDriver.cpp
@@ -159,7 +159,7 @@ JackDriver::dbus_message_hook(DBusConnection* connection,
dbus_uint64_t port_id;
assert(jack_driver);
- JackDriver* me = reinterpret_cast<JackDriver*>(jack_driver);
+ JackDriver* me = static_cast<JackDriver*>(jack_driver);
assert(me->_dbus_connection);
if (dbus_message_is_signal(