From 630959376286f59926e8358879c179c31e58e646 Mon Sep 17 00:00:00 2001 From: Yusuke Nojima Date: Tue, 20 Sep 2011 14:03:42 +0900 Subject: [PATCH] Fix a dangerous macro. Change-Id: Idb5530ceb03c415e4ec002f8d2fbbec837b35636 --- native/src/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/defines.h b/native/src/defines.h index 009d0ad3d..55469a788 100644 --- a/native/src/defines.h +++ b/native/src/defines.h @@ -131,7 +131,7 @@ static void dumpWord(const unsigned short* word, const int length) { #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)