commit | b66080a8794f7e49d519a8e3e063ae5c645f465e | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | Mon Jun 20 12:11:05 2016 -0400 |
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | Mon Jun 20 12:11:05 2016 -0400 |
tree | e26c3ac1ae12577385ccae82cd567457d73dca04 | |
parent | b1034eb1f06250f6524e14b9c9e1f388a45eb158 [diff] [blame] |
Fixes minor code quality issues in CELT Reported by Durandal.
diff --git a/celt/mathops.c b/celt/mathops.c index 3f8c5dc..21a01f5 100644 --- a/celt/mathops.c +++ b/celt/mathops.c
@@ -164,7 +164,7 @@ { return _celt_cos_pi_2(EXTRACT16(x)); } else { - return NEG32(_celt_cos_pi_2(EXTRACT16(65536-x))); + return NEG16(_celt_cos_pi_2(EXTRACT16(65536-x))); } } else { if (x&0x0000ffff)