mirror of
https://github.com/xiph/opus.git
synced 2025-05-15 16:08:30 +00:00
Silence MSVC C4244 warning
When building with FLOAT_APPROX. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
This commit is contained in:
parent
243987518a
commit
e4a74ddeb9
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ static OPUS_INLINE float celt_exp2(float x)
|
||||||
float f;
|
float f;
|
||||||
opus_uint32 i;
|
opus_uint32 i;
|
||||||
} res;
|
} res;
|
||||||
integer = floor(x);
|
integer = (int)floor(x);
|
||||||
if (integer < -50)
|
if (integer < -50)
|
||||||
return 0;
|
return 0;
|
||||||
frac = x-integer;
|
frac = x-integer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue