aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2016-10-18 03:25:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-18 03:25:40 +0000
commit6085e575cac53918238e026aa18fb0268da6a60e (patch)
tree4c13bc73d974452bb67327ee90f8cf2f60151b19 /libSBRdec
parent43585d3f18fa88b5ff8f8a33cdacad4db4da92b2 (diff)
parent8124c22bb7be48fdc496b2148c1315b911f309e8 (diff)
downloadfdk-aac-6085e575cac53918238e026aa18fb0268da6a60e.tar.gz
fdk-aac-6085e575cac53918238e026aa18fb0268da6a60e.tar.bz2
fdk-aac-6085e575cac53918238e026aa18fb0268da6a60e.zip
Merge "Add casts to avoid errors due to narrowing" am: 4556cb9cb8 am: 515fb25ef7
am: 8124c22bb7 Change-Id: I49295c5d3cba3a7f97c9d9494df59f460c2c195a
Diffstat (limited to 'libSBRdec')
-rw-r--r--libSBRdec/src/sbr_rom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libSBRdec/src/sbr_rom.cpp b/libSBRdec/src/sbr_rom.cpp
index c48ce35..4f2cc48 100644
--- a/libSBRdec/src/sbr_rom.cpp
+++ b/libSBRdec/src/sbr_rom.cpp
@@ -1185,7 +1185,7 @@ const FIXP_DBL Alphas[NO_ICC_LEVELS] = {
#define FL2FXCONST_PS FL2FXCONST_SGL
#else
#define FIXP_PS FIXP_DBL
-#define FXP_CAST
+#define FXP_CAST(x) ((FIXP_DBL)(x))
#define FL2FXCONST_PS FL2FXCONST_DBL
#endif