Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <maastebo@microsoft.com>2022-07-12 11:12:21 +0300
committerMark Harris <mark.hsj@gmail.com>2022-07-13 06:29:32 +0300
commite4a74ddeb9788eab84d10660e958fe706619892f (patch)
treeee9735e399f3d31da6f18175f0a89d3e31dbde43
parent243987518a65218ffe5cf260756cbf66583a9bb4 (diff)
Silence MSVC C4244 warning
When building with FLOAT_APPROX. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
-rw-r--r--celt/mathops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/mathops.h b/celt/mathops.h
index fe29dac1..478ac918 100644
--- a/celt/mathops.h
+++ b/celt/mathops.h
@@ -153,7 +153,7 @@ static OPUS_INLINE float celt_exp2(float x)
float f;
opus_uint32 i;
} res;
- integer = floor(x);
+ integer = (int)floor(x);
if (integer < -50)
return 0;
frac = x-integer;