diff options
author | Chris Robinson <[email protected]> | 2023-09-21 07:09:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-09-21 07:09:05 -0700 |
commit | 36de3493c1c2fcab966d72c73520e625da1f1e31 (patch) | |
tree | bd274cd4c7b231fa91e93a9af0a9fccfd1d32780 | |
parent | de9d6d722bd14ed452c02dbaa41a37bdca5df9ca (diff) |
Don't assume the size of AudioObjectType
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
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(); |