diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-05-19 15:25:50 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-05-19 15:25:50 -0700 |
commit | cef190de850f163dd4b95d667a8d46d46e860363 (patch) | |
tree | 60aa601a7e46d2f39acfe5fb46a77b242b3cfa44 /libs/hwui/Matrix.cpp | |
parent | 4bc3d32b15cdcae7685722e7a20007c7aa9ae949 (diff) |
Fix misc-macro-parentheses warnings in hwui and graphic jni.
Bug: 28705665
Change-Id: I7d1eb38a713fe6cc7f41a3cc3f2f9d0aa0114b2c
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()) { |