From eb3fe2715f807e0a842d013b49c3de7cbb0a79af Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 4 Nov 2000 21:01:44 +0000 Subject: Our SHRT_MIN definition was actually 4 bits too big. Submitted by: Bradley T. Hughes --- sys/i386/include/_limits.h | 2 +- sys/i386/include/limits.h | 2 +- sys/powerpc/include/_limits.h | 2 +- sys/powerpc/include/limits.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/i386/include/_limits.h b/sys/i386/include/_limits.h index 2911837..4e95956 100644 --- a/sys/i386/include/_limits.h +++ b/sys/i386/include/_limits.h @@ -65,7 +65,7 @@ #define USHRT_MAX 0xffff /* max value for an unsigned short */ #define SHRT_MAX 0x7fff /* max value for a short */ -#define SHRT_MIN (-0x7ffff - 1) /* min value for a short */ +#define SHRT_MIN (-0x7fff - 1) /* min value for a short */ #define UINT_MAX 0xffffffffU /* max value for an unsigned int */ #define INT_MAX 0x7fffffff /* max value for an int */ diff --git a/sys/i386/include/limits.h b/sys/i386/include/limits.h index 2911837..4e95956 100644 --- a/sys/i386/include/limits.h +++ b/sys/i386/include/limits.h @@ -65,7 +65,7 @@ #define USHRT_MAX 0xffff /* max value for an unsigned short */ #define SHRT_MAX 0x7fff /* max value for a short */ -#define SHRT_MIN (-0x7ffff - 1) /* min value for a short */ +#define SHRT_MIN (-0x7fff - 1) /* min value for a short */ #define UINT_MAX 0xffffffffU /* max value for an unsigned int */ #define INT_MAX 0x7fffffff /* max value for an int */ diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h index 2911837..4e95956 100644 --- a/sys/powerpc/include/_limits.h +++ b/sys/powerpc/include/_limits.h @@ -65,7 +65,7 @@ #define USHRT_MAX 0xffff /* max value for an unsigned short */ #define SHRT_MAX 0x7fff /* max value for a short */ -#define SHRT_MIN (-0x7ffff - 1) /* min value for a short */ +#define SHRT_MIN (-0x7fff - 1) /* min value for a short */ #define UINT_MAX 0xffffffffU /* max value for an unsigned int */ #define INT_MAX 0x7fffffff /* max value for an int */ diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h index 2911837..4e95956 100644 --- a/sys/powerpc/include/limits.h +++ b/sys/powerpc/include/limits.h @@ -65,7 +65,7 @@ #define USHRT_MAX 0xffff /* max value for an unsigned short */ #define SHRT_MAX 0x7fff /* max value for a short */ -#define SHRT_MIN (-0x7ffff - 1) /* min value for a short */ +#define SHRT_MIN (-0x7fff - 1) /* min value for a short */ #define UINT_MAX 0xffffffffU /* max value for an unsigned int */ #define INT_MAX 0x7fffffff /* max value for an int */ -- cgit v1.1