commit | bf29173d6d63536ae9f8cfd1d02153237ee23612 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:16:07 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:16:07 2016 -0700 |
tree | 3f6fe33288711b73e8683d671a57860d6f14219d | |
parent | 0603c5dfc34923095218307674a60429bfa5873a [diff] [blame] |
Fix misc-macro-parentheses warnings. Bug: 28705665 Change-Id: I97d1dec9a4397fd7a3cab5180a833066b8abe0ab
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 7d2d550..595c543 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp
@@ -96,7 +96,7 @@ } #ifndef ARRAY_SIZE -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) #endif namespace android {