commit | fa658eb094d915a9640a4d0642adee7667f439e7 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Mar 04 11:14:42 2020 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed Mar 04 13:22:05 2020 -0800 |
tree | fed628e69093bc895bfb779c13cdf350c0f4540d | |
parent | 93517d1a27db3414e6f3b0b3fc91144903837329 [diff] [blame] |
Fix bugprone-macro-parentheses warnings Bug: 150783705 Test: WITH_TIDY=1 make Change-Id: If47b7adaa5f3ba3c518fb0be48f0ffdc81d204b2
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 331e92c..8bc897a 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h
@@ -68,7 +68,7 @@ #define PTHREAD_ONCE_INIT 0 #if __ANDROID_API__ >= 24 -#define PTHREAD_BARRIER_SERIAL_THREAD -1 +#define PTHREAD_BARRIER_SERIAL_THREAD (-1) #endif #if defined(__LP64__)