[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 4/5] Fix fuer INT_MIN



---
 src/include/limits.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/include/limits.h b/src/include/limits.h
index 53f635f..15640ef 100644
--- a/src/include/limits.h
+++ b/src/include/limits.h
@@ -50,7 +50,7 @@
 #define LONG_MIN -0x80000000
 
 #define INT_MAX 0x7FFFFFFF
-#define INT_MIN -0x80000000
+#define INT_MIN (-INT_MAX - 1)
 
 #define ULONG_MAX 0xFFFFFFFF
 #define UINT_MAX 0xFFFFFFFF
-- 
1.6.0.2