Skip to content

Commit

Permalink
Silence MSVC C4244 warning
Browse files Browse the repository at this point in the history
When building with FLOAT_APPROX.

Signed-off-by: Mark Harris <[email protected]>
  • Loading branch information
xnorpx authored and mark4o committed Jul 13, 2022
1 parent 2439875 commit e4a74dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celt/mathops.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e4a74dd

Please sign in to comment.