summaryrefslogtreecommitdiffstats
path: root/reference-ril/atchannel.c
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-12 10:01:16 -0700
committerChih-Hung Hsieh <chh@google.com>2016-05-12 10:01:16 -0700
commit434554c687a6735dcac99fbcd78582c80577d70a (patch)
tree586cf2899a08c4bd3f727f2632c53f6bdb567281 /reference-ril/atchannel.c
parenta22b128851c769f18ab6e1dde38ef5a4c32c28c2 (diff)
downloadandroid_hardware_ril-434554c687a6735dcac99fbcd78582c80577d70a.tar.gz
android_hardware_ril-434554c687a6735dcac99fbcd78582c80577d70a.tar.bz2
android_hardware_ril-434554c687a6735dcac99fbcd78582c80577d70a.zip
Fix misc-macro-parentheses warnings.
Bug: 28705665 Change-Id: Ib7520c64075a652eb0b15483f36383c4632624d1
Diffstat (limited to 'reference-ril/atchannel.c')
-rw-r--r--reference-ril/atchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference-ril/atchannel.c b/reference-ril/atchannel.c
index 315d4f9..6a6be30 100644
--- a/reference-ril/atchannel.c
+++ b/reference-ril/atchannel.c
@@ -36,7 +36,7 @@
#include "misc.h"
-#define NUM_ELEMS(x) (sizeof(x)/sizeof(x[0]))
+#define NUM_ELEMS(x) (sizeof(x)/sizeof((x)[0]))
#define MAX_AT_RESPONSE (8 * 1024)
#define HANDSHAKE_RETRY_COUNT 8