commit | df921799727f4dcc9ae11c579c1428cc45444fa6 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Jul 07 21:53:30 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jul 07 21:53:30 2016 +0000 |
tree | 27cb740b2ee796284778a09c80cf2f17f6d7c4b0 | |
parent | e616f790e5f015e435405eae479d82d93dcdc606 [diff] | |
parent | 683e1d1d6da39fb6614b072af00915ec506edfa7 [diff] |
Merge \\\"Fix misc-macro-parentheses warnings in frameworks/ml.\\\" am: 5f58ad9b94 am: 4745c0f6f0 am: 683e1d1d6d Change-Id: I38eae3863b1902f30ba7ded94c52485b24b7a6ff
diff --git a/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h b/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h index 597c4f1..4df8686 100644 --- a/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h +++ b/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h
@@ -39,7 +39,7 @@ #define uint64 uint64_t #define int64 int64_t #include <cutils/log.h> -#define CHECK_GT(x,y) if (x<y) ALOGE("CHECK_GT failed at file %s line %d", \ +#define CHECK_GT(x,y) if ((x)<(y)) ALOGE("CHECK_GT failed at file %s line %d", \ __FILE__, __LINE__); #endif