commit | 2e22fc4827d6890574d2c539fe1bfb82f39e0016 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Jul 14 19:45:35 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 14 19:45:35 2022 +0000 |
tree | ef2319afc39c4e650fa9a429c379ae93d1e52802 | |
parent | f2fc6fb581d7346332c438af65ff1cede9c7ffb0 [diff] | |
parent | 7dc4b7a4afa8f284ddd1b2fb15cfe1cb95f2269b [diff] |
macro argument should be enclosed in parentheses am: 7dc4b7a4af Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2154493 Change-Id: I2c0f29edc703592243c7d0521b379297020bb446 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/gralloc960/gralloc_helper.h b/gralloc960/gralloc_helper.h index fea10e5..3d2b421 100644 --- a/gralloc960/gralloc_helper.h +++ b/gralloc960/gralloc_helper.h
@@ -41,7 +41,7 @@ #define GRALLOC_ALIGN(value, base) (((value) + ((base)-1)) & ~((base)-1)) -#define GRALLOC_UNUSED(x) ((void)x) +#define GRALLOC_UNUSED(x) ((void)(x)) static inline size_t round_up_to_page_size(size_t x) {