diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 16:16:49 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 16:16:49 -0500 |
| commit | 6b17d4ffbea91431d5a032e5f19dd56f4acd7b20 (patch) | |
| tree | 3c8b6b3b8a624febb00ec3bee3203a9a1f45d1cf /src/limits/CHAR_MIN.c | |
| parent | e6dfff4a2b3a230ff017b637e6f5446fff72dace (diff) | |
default to unsigned
Diffstat (limited to 'src/limits/CHAR_MIN.c')
| -rw-r--r-- | src/limits/CHAR_MIN.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/limits/CHAR_MIN.c b/src/limits/CHAR_MIN.c index 8db46640..791cbbc2 100644 --- a/src/limits/CHAR_MIN.c +++ b/src/limits/CHAR_MIN.c @@ -1,8 +1,8 @@ #include <limits.h> -#ifdef __CHAR_IS_SIGNED -#define CHAR_MIN (-128) -#else +#ifdef __CHAR_IS_UNSIGNED__ #define CHAR_MIN (0) +#else +#define CHAR_MIN (-128) #endif /** char minimum **/ |
