diff options
| author | Chih-Hung Hsieh <chh@google.com> | 2016-06-22 22:39:07 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2016-06-22 22:39:07 +0000 |
| commit | 65828a0ec93c16436ac6337b81b0d4e93acbdd5b (patch) | |
| tree | 0341451af12211527d5fdac2b0460b03fb1aea19 /healthd | |
| parent | a247e9ad47e4d94bfc14019ad9a2de79da32f908 (diff) | |
| parent | 495541c5bb4372eb9e3596cc65f3958084817329 (diff) | |
| download | system_core-65828a0ec93c16436ac6337b81b0d4e93acbdd5b.tar.gz system_core-65828a0ec93c16436ac6337b81b0d4e93acbdd5b.tar.bz2 system_core-65828a0ec93c16436ac6337b81b0d4e93acbdd5b.zip | |
Merge \"Fix misc-macro-parentheses warnings in system/core.\"
am: 495541c5bb
Change-Id: I021b653779c5119398c31ee354372366ba029328
Diffstat (limited to 'healthd')
| -rw-r--r-- | healthd/healthd_mode_charger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index 58466263a..612885bc7 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -58,7 +58,7 @@ char *locale; #define min(a,b) ((a) < (b) ? (a) : (b)) #endif -#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) +#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) #define MSEC_PER_SEC (1000LL) #define NSEC_PER_MSEC (1000000LL) |
