diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-04 21:01:44 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-04 21:01:44 +0000 |
commit | eb3fe2715f807e0a842d013b49c3de7cbb0a79af (patch) | |
tree | 4002a603b01cf08a374240842b6654eea2824db3 | |
parent | 8b6b9c21aba0ad05af76eac678d605c9002eb64c (diff) | |
download | FreeBSD-src-eb3fe2715f807e0a842d013b49c3de7cbb0a79af.zip FreeBSD-src-eb3fe2715f807e0a842d013b49c3de7cbb0a79af.tar.gz |
Our SHRT_MIN definition was actually 4 bits too big.
Submitted by: Bradley T. Hughes <bhughes@trolltech.com>
-rw-r--r-- | sys/i386/include/_limits.h | 2 | ||||
-rw-r--r-- | sys/i386/include/limits.h | 2 | ||||
-rw-r--r-- | sys/powerpc/include/_limits.h | 2 | ||||
-rw-r--r-- | 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 */ |