summaryrefslogtreecommitdiffstats
path: root/src/JackLibDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackLibDriver.cpp')
-rw-r--r--src/JackLibDriver.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/JackLibDriver.cpp b/src/JackLibDriver.cpp
index 017abf5..6df5b02 100644
--- a/src/JackLibDriver.cpp
+++ b/src/JackLibDriver.cpp
@@ -237,7 +237,11 @@ JackLibDriver::get_port_info(const jack_port_t* const port)
order = std::stoi(order_str);
}
- return {label, type, direction, order, bool(flags & JackPortIsTerminal)};
+ return {label,
+ type,
+ direction,
+ order,
+ static_cast<bool>(flags & JackPortIsTerminal)};
}
void