diff options
| -rw-r--r-- | src/limits/LLONG_MIN.c | 2 | ||||
| -rw-r--r-- | src/stdint/INTMAX_MIN.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/limits/LLONG_MIN.c b/src/limits/LLONG_MIN.c index a28952fe..39986c4c 100644 --- a/src/limits/LLONG_MIN.c +++ b/src/limits/LLONG_MIN.c @@ -1,5 +1,5 @@ #include <limits.h> -#define LLONG_MIN (-9223372036854775808LL) +#define LLONG_MIN (-LLONG_MAX - 1LL) /* MIN: -9223372036854775807 */ /** minimum value of a type(long long int) **/ diff --git a/src/stdint/INTMAX_MIN.c b/src/stdint/INTMAX_MIN.c index 240d40b6..632b7ff0 100644 --- a/src/stdint/INTMAX_MIN.c +++ b/src/stdint/INTMAX_MIN.c @@ -1,5 +1,5 @@ #include <stdint.h> -#define INTMAX_MIN (-9223372036854775808LL) +#define INTMAX_MIN (-INTMAX_MAX - 1LL) /* STDC(199901) |
