Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix msvc compiler error C4146 (unary minus operator applied to unsign…
…ed type) On msvc14, int literal '-2147483648' is invalid, because '2147483648' is unsigned type and cant't apply minus operator to unsigned type. To define the int literal correctly, use '-2147483647 - 1' formula that is also used to define INT_MIN in limits.h.
- Loading branch information