From 8eda8f3044a3846ace81a5c42ddd23805a701414 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 12 May 2016 10:15:11 -0700 Subject: Fix misc-macro-parentheses warnings. Bug: 28705665 Change-Id: I02229acad1dbdd729983af0c540fd68f241baba9 --- client/nvram_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/nvram_client.c b/client/nvram_client.c index 4843abe..e4e462a 100644 --- a/client/nvram_client.c +++ b/client/nvram_client.c @@ -22,7 +22,7 @@ #include -#define countof(array) (sizeof(array) / sizeof(array[0])) +#define countof(array) (sizeof(array) / sizeof((array)[0])) // Exit status codes. These are all negative as the positive ones are used for // the NV_RESULT_ codes. -- cgit v1.2.3