diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2019-05-12 19:41:34 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2019-05-12 19:41:34 -0700 |
commit | 5ac19673db211d1bee7687335af96cee4e6b40d8 (patch) | |
tree | dba6f0da298916e0b48470fd91211d6dd43debdd /Alc/panning.cpp | |
parent | 8d437a513539d016764e3297a441a318d7e7997c (diff) |
Fix a couple type truncation warnings with MSVC
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index ce822123..4501efa5 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -783,7 +783,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appr else { int hqdec{GetConfigValueBool(devname, "decoder", "hq-mode", 0)}; - InitCustomPanning(device, hqdec, pconf, speakermap); + InitCustomPanning(device, !!hqdec, pconf, speakermap); } /* Enable the stablizer only for formats that have front-left, front- |