diff options
-rw-r--r-- | sys/sys/stdint.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/stdint.h b/sys/sys/stdint.h index 45704424dc1..af180cecd65 100644 --- a/sys/sys/stdint.h +++ b/sys/sys/stdint.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdint.h,v 1.2 2006/01/06 19:04:41 millert Exp $ */ +/* $OpenBSD: stdint.h,v 1.3 2006/01/14 13:19:51 millert Exp $ */ /* * Copyright (c) 1997, 2005 Todd C. Miller <Todd.Miller@courtesan.com> @@ -104,10 +104,10 @@ typedef __uintmax_t uintmax_t; */ /* 7.18.2.1 Limits of exact-width integer types */ -#define INT8_MIN (0x7f - 1) -#define INT16_MIN (0x7fff - 1) -#define INT32_MIN (0x7fffffff - 1) -#define INT64_MIN (0x7fffffffffffffffLL - 1) +#define INT8_MIN (-0x7f - 1) +#define INT16_MIN (-0x7fff - 1) +#define INT32_MIN (-0x7fffffff - 1) +#define INT64_MIN (-0x7fffffffffffffffLL - 1) #define INT8_MAX 0x7f #define INT16_MAX 0x7fff |