From 3848b713426fa9bef1002048950c1b664cbb7350 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2024 16:50:49 -0400 Subject: Fix inconsistent C-style cast --- src/server/JackDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(eport->handle()), new_path.substr(1).c_str()); #else - jack_port_set_name((jack_port_t*)eport->handle(), + jack_port_set_name(static_cast(eport->handle()), new_path.substr(1).c_str()); #endif } -- cgit v1.2.1