macro argument should be enclosed in parentheses
Test: presubmit
Bug: 236798112
Change-Id: Iffeb9ecdd83ff927a47464ff693a62e715fab19f
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)
{