diff options
author | Chris Robinson <[email protected]> | 2019-09-14 19:42:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-14 19:42:54 -0700 |
commit | 4b8f78a8d633e3f39e2b708184c051465fcfef7d (patch) | |
tree | 0f90c50f3630c5dbb6e188116cd58c8ca4181186 /alc/mixer | |
parent | e82c43fb38f13ee3efdda2b7a1395b8182fceb1c (diff) |
Fix a few more GCC warnings
Diffstat (limited to 'alc/mixer')
-rw-r--r-- | alc/mixer/mixer_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp index 74315dd5..7beab1a9 100644 --- a/alc/mixer/mixer_c.cpp +++ b/alc/mixer/mixer_c.cpp @@ -30,7 +30,7 @@ inline ALfloat do_bsinc(const InterpState &istate, const ALfloat *RESTRICT vals, (1.0f/(1<<FRAC_PHASE_BITDIFF))}; #undef FRAC_PHASE_BITDIFF - const ALfloat *fil{istate.bsinc.filter + static_cast<ptrdiff_t>(istate.bsinc.m)*pi*4}; + const ALfloat *fil{istate.bsinc.filter + istate.bsinc.m*static_cast<ptrdiff_t>(pi*4)}; const ALfloat *scd{fil + istate.bsinc.m}; const ALfloat *phd{scd + istate.bsinc.m}; const ALfloat *spd{phd + istate.bsinc.m}; |