From 8cea73aade337ad71f05c141aa2f6983c0650465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 17 May 2006 16:06:06 +0000 Subject: [PATCH] avoids a gcc warning on definition of INT32_MIN git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17494 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/stdint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/posix/stdint.h b/headers/posix/stdint.h index a687452414..17cfb913d9 100644 --- a/headers/posix/stdint.h +++ b/headers/posix/stdint.h @@ -23,15 +23,15 @@ typedef unsigned char uint8_t; typedef signed short int16_t; typedef unsigned short uint16_t; -#define INT32_MIN (-2147483648L) -#define INT32_MAX (2147483647L) +#define INT32_MAX (2147483647L) +#define INT32_MIN (-INT32_MAX-1) #define UINT32_MAX (4294967295UL) typedef signed long int32_t; typedef unsigned long uint32_t; -#define INT64_MIN (-9223372036854775808LL) #define INT64_MAX (9223372036854775807LL) +#define INT64_MIN (-INT64_MAX-1) #define UINT64_MAX (18446744073709551615ULL) typedef signed long long int64_t;