diff options
author | Chris Robinson <[email protected]> | 2019-06-09 19:27:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-09 19:27:15 -0700 |
commit | ec6fdff0c68e883908039e396cd68883ee263684 (patch) | |
tree | ee21b1093b2aa3dc021e78bbf9c7dcc4a040d4eb /Alc/alcontext.h | |
parent | bc8f206ee1361ec4b6e740a458bb7985bb7d1429 (diff) |
Make the voice count unsigned
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r-- | Alc/alcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 63983ca3..1887e341 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -117,7 +117,7 @@ struct ALCcontext { std::atomic<ALeffectslotProps*> FreeEffectslotProps{nullptr}; std::unique_ptr<al::FlexArray<ALvoice>> Voices{nullptr}; - std::atomic<ALsizei> VoiceCount{0}; + std::atomic<ALuint> VoiceCount{0u}; using ALeffectslotArray = al::FlexArray<ALeffectslot*>; std::atomic<ALeffectslotArray*> ActiveAuxSlots{nullptr}; |