diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-05-19 23:07:09 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-19 23:07:09 +0000 |
commit | 404e2b21fc197ab8ad889eef5146845e56eca88d (patch) | |
tree | 7563bb8baca0535cf46aa9cd3aa6ee62226c6e01 /libs/hwui/Matrix.cpp | |
parent | 5dfe673be19ec469b1e62f4713c24f57b5ff27e2 (diff) | |
parent | e66235bf00a695cacb44b0bc1a241cabb7de3b96 (diff) |
Merge "Fix misc-macro-parentheses warnings in hwui and graphic jni."
am: e66235bf00
* commit 'e66235bf00a695cacb44b0bc1a241cabb7de3b96':
Fix misc-macro-parentheses warnings in hwui and graphic jni.
Change-Id: I08ab0efc29e8b595f087a781d8a66a472f1f9797
Diffstat (limited to 'libs/hwui/Matrix.cpp')
-rw-r--r-- | libs/hwui/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Matrix.cpp b/libs/hwui/Matrix.cpp index 06e67c0e85ad..872abde2c765 100644 --- a/libs/hwui/Matrix.cpp +++ b/libs/hwui/Matrix.cpp @@ -425,7 +425,7 @@ void Matrix4::mapPoint3d(Vector3& vec) const { vec.z = orig.x * data[2] + orig.y * data[6] + orig.z * data[kScaleZ] + data[kTranslateZ]; } -#define MUL_ADD_STORE(a, b, c) a = (a) * (b) + (c) +#define MUL_ADD_STORE(a, b, c) ((a) = (a) * (b) + (c)) void Matrix4::mapPoint(float& x, float& y) const { if (isSimple()) { |