diff options
Diffstat (limited to 'src/PortID.hpp')
-rw-r--r-- | src/PortID.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PortID.hpp b/src/PortID.hpp index 3dea5af..06d25ec 100644 --- a/src/PortID.hpp +++ b/src/PortID.hpp @@ -95,8 +95,8 @@ operator<<(std::ostream& os, const PortID& id) break; case PortID::Type::alsa_addr: #ifdef HAVE_ALSA - return os << "alsa:" << (int)id.id.alsa_addr.client << ":" - << (int)id.id.alsa_addr.port << ":" + return os << "alsa:" << int(id.id.alsa_addr.client) << ":" + << int(id.id.alsa_addr.port) << ":" << (id.id.is_input ? "in" : "out"); #endif break; |