diff options
Diffstat (limited to 'src/PortID.hpp')
-rw-r--r-- | src/PortID.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PortID.hpp b/src/PortID.hpp index 54e4c5d..e22e670 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -108,8 +108,9 @@ operator<<(std::ostream& os, const PortID& id) case PortID::Type::jack: return os << "jack:" << id.jack_name(); case PortID::Type::alsa: - return os << "alsa:" << int(id.alsa_client()) << ":" << int(id.alsa_port()) - << ":" << (id.alsa_is_input() ? "in" : "out"); + return os << "alsa:" << static_cast<int>(id.alsa_client()) << ":" + << static_cast<int>(id.alsa_port()) << ":" + << (id.alsa_is_input() ? "in" : "out"); } assert(false); |