diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-05-23 22:46:31 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-23 22:46:31 +0000 |
commit | 66bd688711f6c7beee43bd9774b6792281bc509e (patch) | |
tree | 2d4a8659c0ba2472cc10aac8db1b3afd0dd0fe4b | |
parent | 71a1aeefa0aa8727ee8001eb558d015afcff98cd (diff) | |
parent | 8eda8f3044a3846ace81a5c42ddd23805a701414 (diff) | |
download | nvram-66bd688711f6c7beee43bd9774b6792281bc509e.tar.gz |
Fix misc-macro-parentheses warnings.
am: 8eda8f3044
* commit '8eda8f3044a3846ace81a5c42ddd23805a701414':
Fix misc-macro-parentheses warnings.
Change-Id: Ib3d6d5603dd0e8186a090008d188d1311583dd3a
-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. |