summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/JackDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp
index bfc8b8b..b9ae615 100644
--- a/src/JackDriver.cpp
+++ b/src/JackDriver.cpp
@@ -187,7 +187,7 @@ JackDriver::get_port_info(const jack_port_t* const port)
boost::optional<int> order;
const std::string order_str = get_property(uuid, JACKEY_ORDER);
if (!order_str.empty()) {
- order = atoi(order_str.c_str());
+ order = std::stoi(order_str);
}
return {label, type, direction, order, bool(flags & JackPortIsTerminal)};