From 5a9ac5d59f65edbf8769c34b0297e4689dc8f5bd Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 23 Mar 2001 15:22:57 +0000 Subject: [PATCH] made unsigned limits unsigned git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@707 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/include/limits.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/device/include/limits.h b/device/include/limits.h index f067287b..a1fe0a77 100644 --- a/device/include/limits.h +++ b/device/include/limits.h @@ -30,7 +30,7 @@ #define CHAR_MIN -128 #define SCHAR_MAX CHAR_MAX #define SCHAR_MIN CHAR_MIN -#define UCHAR_MAX 255 +#define UCHAR_MAX 0xff #define UCHAR_MIN 0 #define SHRT_MAX CHAR_MAX #define SHRT_MIN CHAR_MIN @@ -38,11 +38,11 @@ #define USHRT_MIN UCHAR_MIN #define INT_MIN -32768 #define INT_MAX 32767 -#define UINT_MAX 65535 +#define UINT_MAX 0xffff #define UINT_MIN 0 #define LONG_MIN -2147483648 #define LONG_MAX 2147483647 -#define ULONG_MAX 4294967295 +#define ULONG_MAX 0xffffffff #define ULONG_MIN 0 -- 2.47.2