1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib
Solomon Peachy 303f262acb dsp: Silence a warning in the compressor code
/* offset = -3db * (ratio - 1) / ratio */
    db_curve[2].offset = (int32_t)((long long)(-3 << 16)
        * (ratio - 1) / ratio);

Results in a warning: left shift of negative value [-Wshift-negative-value]

To fix this, replace the '-3' with -3UL.

(As that is effectively what is already happening)

Change-Id: I5aa269ff332703d3c2d889fa032d2fdc403ff14f
2025-04-22 09:45:24 -04:00
..
arm_support arm: add support for processors with hardware division 2025-04-18 09:22:48 -04:00
fixedpoint Undo hacks to meant to get around string formatting limitations 2017-11-21 05:01:14 -05:00
libsetjmp libsetjmp: fix unpredictable behavior warning on ARM Cortex-M 2025-04-19 11:24:01 -04:00
microtar [FIX_RED] microtar.c #2 2023-11-19 13:20:35 -05:00
mipsunwinder mips: add native backtrace implementation 2022-05-22 07:16:11 -04:00
rbcodec dsp: Silence a warning in the compressor code 2025-04-22 09:45:24 -04:00
skin_parser skin_debug: Also dump the parameters to viewports 2025-03-07 09:46:54 -05:00
tlsf [coverity] tlsf.c tlsf_malloc guard against empty mempool 2024-06-02 21:00:09 -04:00
unwarminder arm: implement get_sp for Cortex-M 2025-04-18 12:47:03 -04:00