From 85612b3e44ad690e210465bf5bf59e78fd2b7a87 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 12 May 2016 11:26:26 -0700 Subject: Fix misc-macro-parentheses warnings. Bug: 28705665 Change-Id: I7f0f14a71b9a563bc64168c6515d339870b21380 --- chromium/plat_support/draw_gl_functor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium/plat_support/draw_gl_functor.cpp b/chromium/plat_support/draw_gl_functor.cpp index c35d961..25f4877 100644 --- a/chromium/plat_support/draw_gl_functor.cpp +++ b/chromium/plat_support/draw_gl_functor.cpp @@ -31,7 +31,7 @@ #include #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) -#define COMPILE_ASSERT(expr, err) static const char err[(expr) ? 1 : -1] = ""; +#define COMPILE_ASSERT(expr, err) static const char (err)[(expr) ? 1 : -1] = ""; namespace android { namespace { -- cgit v1.2.3