aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-23 22:50:42 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-23 22:50:42 +0000
commit3b4d57a10625222098edd6b65403db84655ef8f7 (patch)
tree2d4a8659c0ba2472cc10aac8db1b3afd0dd0fe4b
parent05a177c9f2bafbf91fdf837792e2c7935b89f0ad (diff)
parent66bd688711f6c7beee43bd9774b6792281bc509e (diff)
downloadnvram-3b4d57a10625222098edd6b65403db84655ef8f7.tar.gz
Fix misc-macro-parentheses warnings. am: 8eda8f3044
am: 66bd688711 * commit '66bd688711f6c7beee43bd9774b6792281bc509e': Fix misc-macro-parentheses warnings. Change-Id: I9ee7f557b89b8425786e170f17c835451161f1ee
-rw-r--r--client/nvram_client.c2
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.