forked from len0rd/rockbox
/* 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
|
||
|---|---|---|
| .. | ||
| codecs | ||
| dsp | ||
| metadata | ||
| test | ||
| platform.h | ||
| rbcodec.make | ||
| rbcodecconfig-example.h | ||
| rbcodecplatform-unix.h | ||
| SOURCES | ||