diff --git a/native/src/defines.h b/native/src/defines.h
index 009d0ad3d6a27835aa17173eabe744a79ea11750..55469a788077e80ae85adb9b75ad854755584a64 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)