diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 16:50:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 19:06:42 -0400 |
commit | 3848b713426fa9bef1002048950c1b664cbb7350 (patch) | |
tree | 482f07e1b3fd14dbaa820f4bd335ef913a653730 | |
parent | 8448ed74a88312d5cf1ca7862aff8c2087c0ffbc (diff) | |
download | ingen-3848b713426fa9bef1002048950c1b664cbb7350.tar.gz ingen-3848b713426fa9bef1002048950c1b664cbb7350.tar.bz2 ingen-3848b713426fa9bef1002048950c1b664cbb7350.zip |
Fix inconsistent C-style cast
-rw-r--r-- | src/server/JackDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp index a2a7f951..68974b12 100644 --- a/src/server/JackDriver.cpp +++ b/src/server/JackDriver.cpp @@ -270,7 +270,7 @@ JackDriver::rename_port(const raul::Path& old_path, static_cast<jack_port_t*>(eport->handle()), new_path.substr(1).c_str()); #else - jack_port_set_name((jack_port_t*)eport->handle(), + jack_port_set_name(static_cast<jack_port_t*>(eport->handle()), new_path.substr(1).c_str()); #endif } |