diff options
| author | Chih-Hung Hsieh <chh@google.com> | 2016-05-18 15:53:15 -0700 |
|---|---|---|
| committer | Chih-Hung Hsieh <chh@google.com> | 2016-05-18 15:53:15 -0700 |
| commit | 67867dbd79a0cbc9b603b23ac460f9f58ea14d1e (patch) | |
| tree | a8ef7f306ebae12a12fd20bd9a1a4a88a82bcee4 /libbacktrace/GetPss.cpp | |
| parent | 9b0eb7cdf4ac4650fc3f476c2f5a91c50a18e524 (diff) | |
| download | system_core-67867dbd79a0cbc9b603b23ac460f9f58ea14d1e.tar.gz system_core-67867dbd79a0cbc9b603b23ac460f9f58ea14d1e.tar.bz2 system_core-67867dbd79a0cbc9b603b23ac460f9f58ea14d1e.zip | |
Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace.
Bug: 28705665
Change-Id: I469b2a882f6d1f399bfc22c75a26da245991fc33
Diffstat (limited to 'libbacktrace/GetPss.cpp')
| -rw-r--r-- | libbacktrace/GetPss.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/GetPss.cpp b/libbacktrace/GetPss.cpp index b4dc48d56..6d750ea81 100644 --- a/libbacktrace/GetPss.cpp +++ b/libbacktrace/GetPss.cpp @@ -24,7 +24,7 @@ // This is an extremely simplified version of libpagemap. -#define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1)) +#define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) #define PAGEMAP_PRESENT(x) (_BITS(x, 63, 1)) #define PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1)) |
