commit | 92c6b825ad27e790b5ebd7076bd9b9ef3d5815ce | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:20:14 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:20:14 2016 -0700 |
tree | 5387cdb9c95cece74df22fc6485dfea62e0c3a3d | |
parent | 0603c5dfc34923095218307674a60429bfa5873a [diff] |
Fix misc-macro-parentheses warnings. Bug: 28705665 Change-Id: I1ad468741c6f117817099d2ba87374dce2b776a9
diff --git a/drm/common/IDrmManagerService.cpp b/drm/common/IDrmManagerService.cpp index f2e14b6..1614e26 100644 --- a/drm/common/IDrmManagerService.cpp +++ b/drm/common/IDrmManagerService.cpp
@@ -33,7 +33,7 @@ #include "IDrmManagerService.h" -#define INVALID_BUFFER_LENGTH -1 +#define INVALID_BUFFER_LENGTH (-1) #define MAX_BINDER_TRANSACTION_SIZE ((1*1024*1024)-(4096*2)) using namespace android;
diff --git a/drm/common/ReadWriteUtils.cpp b/drm/common/ReadWriteUtils.cpp index d696f16..16b5b34 100644 --- a/drm/common/ReadWriteUtils.cpp +++ b/drm/common/ReadWriteUtils.cpp
@@ -30,7 +30,7 @@ using namespace android; -#define FAILURE -1 +#define FAILURE (-1) String8 ReadWriteUtils::readBytes(const String8& filePath) { FILE* file = NULL;