aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-09-21 07:09:05 -0700
committerChris Robinson <[email protected]>2023-09-21 07:09:05 -0700
commit36de3493c1c2fcab966d72c73520e625da1f1e31 (patch)
treebd274cd4c7b231fa91e93a9af0a9fccfd1d32780
parentde9d6d722bd14ed452c02dbaa41a37bdca5df9ca (diff)
Don't assume the size of AudioObjectType
-rw-r--r--alc/backends/wasapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp
index 1fd37e37..9c2553d1 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -1249,7 +1249,7 @@ FORCE_ALIGN int WasapiPlayback::mixerSpatialProc()
channels.reserve(static_cast<uint>(al::popcount(flags)));
while(flags)
{
- DWORD id{1u << al::countr_zero(flags)};
+ auto id = UT{1} << al::countr_zero(flags);
flags &= ~id;
channels.emplace_back();