commit | db815b79a788e19a7c61d89941bec5851487112f | [log] [tgz] |
---|---|---|
author | Yusuke Nojima <nojima@google.com> | Tue Sep 20 01:26:48 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 20 01:26:48 2011 -0700 |
tree | fd96f95203f4ff963b02f74d1426854b0d50b975 | |
parent | 6ec961de00761b29d79e827404df48058f39ee3d [diff] | |
parent | 630959376286f59926e8358879c179c31e58e646 [diff] |
Merge "Fix a dangerous macro."
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)