aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2016-10-18 03:12:10 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-18 03:12:10 +0000
commit515fb25ef76da9b8a1ad842aaccd3ebb6790c5dc (patch)
tree0a1be934e56560c4585d2606ec53336a6a3793f4 /libSBRdec
parentca6ae4ffe4c5b38b4a3619dec4a51c60257e77ef (diff)
parent4556cb9cb8b12574c41b749b20c1c149fed54a37 (diff)
downloadfdk-aac-515fb25ef76da9b8a1ad842aaccd3ebb6790c5dc.tar.gz
fdk-aac-515fb25ef76da9b8a1ad842aaccd3ebb6790c5dc.tar.bz2
fdk-aac-515fb25ef76da9b8a1ad842aaccd3ebb6790c5dc.zip
Merge "Add casts to avoid errors due to narrowing"
am: 4556cb9cb8 Change-Id: I4cb4a7dace03c7c09403588da05ea8df0f35077e
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