diff options
author | Martin Storsjo <martin@martin.st> | 2016-08-24 22:32:17 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2016-10-17 10:32:24 +0300 |
commit | 6d7d5013ea8b2207055de4a8c809eca20448513c (patch) | |
tree | 0a1be934e56560c4585d2606ec53336a6a3793f4 /libSBRdec/src | |
parent | f935254cc960ff906ae571566098a9df70014747 (diff) | |
download | fdk-aac-6d7d5013ea8b2207055de4a8c809eca20448513c.tar.gz fdk-aac-6d7d5013ea8b2207055de4a8c809eca20448513c.tar.bz2 fdk-aac-6d7d5013ea8b2207055de4a8c809eca20448513c.zip |
Add casts to avoid errors due to narrowing
This fixes building in C++11 mode, which normally errors out
on narrowing hex literals to signed long.
This is similar to what was done in git commit ef30836651
(change id I64d19a8a8059c5a96386b1eaac297fd2469515f8), completing
the fix for that category of issues.
Change-Id: I1907bc947d43bf44910fb2b34bf2b31c0e53aa53
Diffstat (limited to 'libSBRdec/src')
-rw-r--r-- | libSBRdec/src/sbr_rom.cpp | 2 |
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 |