summaryrefslogtreecommitdiffstats
path: root/src/ClientID.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 09:14:34 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 09:38:43 -0400
commite218739bbb66c9a4d2d8860a3322f2eb91b6c32e (patch)
treeb52c80580bd96eb8e86200dbe903c0477f0c3ec3 /src/ClientID.hpp
parent96aa54674cec5a55e31bd588448804d0f6dcdbfd (diff)
downloadpatchage-e218739bbb66c9a4d2d8860a3322f2eb91b6c32e.tar.gz
patchage-e218739bbb66c9a4d2d8860a3322f2eb91b6c32e.tar.bz2
patchage-e218739bbb66c9a4d2d8860a3322f2eb91b6c32e.zip
Avoid C-style casts
Diffstat (limited to 'src/ClientID.hpp')
-rw-r--r--src/ClientID.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientID.hpp b/src/ClientID.hpp
index f918ea4..dbe5b75 100644
--- a/src/ClientID.hpp
+++ b/src/ClientID.hpp
@@ -72,7 +72,7 @@ operator<<(std::ostream& os, const ClientID& id)
case ClientID::Type::jack:
return os << "jack:" << id.jack_name();
case ClientID::Type::alsa:
- return os << "alsa:" << int(id.alsa_id());
+ return os << "alsa:" << static_cast<int>(id.alsa_id());
}
assert(false);