Commit e65e12f5 authored by Yaowu Xu's avatar Yaowu Xu

Fix a ISO C90 warning

2147483648 by itself can not be represented by a 32 bit "int".

Change-Id: I738573fed9f53c00b04693306acb9ad43a6485a9
parent 989c5cbc
......@@ -70,7 +70,7 @@ typedef size_t uintptr_t;
#endif
#if !defined(INT32_MIN)
#define INT32_MIN (-2147483648)
#define INT32_MIN (-2147483647 - 1)
#endif
#define NELEMENTS(x) (int)(sizeof(x) / sizeof(x[0]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment