diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-05-12 10:15:11 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-05-12 10:15:11 -0700 |
commit | 8eda8f3044a3846ace81a5c42ddd23805a701414 (patch) | |
tree | 2d4a8659c0ba2472cc10aac8db1b3afd0dd0fe4b | |
parent | bfb09a00dcb98fd8f4d0294c5905726973212838 (diff) | |
download | nvram-8eda8f3044a3846ace81a5c42ddd23805a701414.tar.gz |
Fix misc-macro-parentheses warnings.android-n-preview-4
Bug: 28705665
Change-Id: I02229acad1dbdd729983af0c540fd68f241baba9
-rw-r--r-- | client/nvram_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <hardware/nvram.h> -#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. |