commit | 630959376286f59926e8358879c179c31e58e646 | [log] [tgz] |
---|---|---|
author | Yusuke Nojima <nojima@google.com> | Tue Sep 20 14:03:42 2011 +0900 |
committer | Yusuke Nojima <nojima@google.com> | Tue Sep 20 16:17:05 2011 +0900 |
tree | e01543e36416e2190b26cca671bf2c03baf62d5f | |
parent | a35ea4cba88868a8c45b4d132d0c49b128f76927 [diff] [blame] |
Fix a dangerous macro. Change-Id: Idb5530ceb03c415e4ec002f8d2fbbec837b35636
diff --git a/native/src/defines.h b/native/src/defines.h index 009d0ad..55469a7 100644 --- a/native/src/defines.h +++ b/native/src/defines.h
@@ -131,7 +131,7 @@ #endif // FLAG_DBG #ifndef U_SHORT_MAX -#define U_SHORT_MAX 1 << 16 +#define U_SHORT_MAX 65535 // ((1 << 16) - 1) #endif #ifndef S_INT_MAX #define S_INT_MAX 2147483647 // ((1 << 31) - 1)