summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 15:36:26 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 15:36:26 -0500
commit117fd0bf7ada734f7a64d892fdcdfc9050a00d50 (patch)
treed74be1edd2bf1ce0931745ea6cda404a69874adc /src
parentee7b8aa4f901cb56606a1c5b354069f474202d4a (diff)
use an int for ctype attributes so we don't lose data
Diffstat (limited to 'src')
-rw-r--r--src/nonstd/struct_locale_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nonstd/struct_locale_t.c b/src/nonstd/struct_locale_t.c
index 5487ae6a..1bc8e932 100644
--- a/src/nonstd/struct_locale_t.c
+++ b/src/nonstd/struct_locale_t.c
@@ -5,7 +5,7 @@ struct __locale_t {
char ctype[UCHAR_MAX];
struct {
- unsigned char ctattr[UCHAR_MAX + 1];
+ unsigned int ctattr[UCHAR_MAX + 1];
unsigned char ctoupper[UCHAR_MAX + 1];
unsigned char ctolower[UCHAR_MAX + 1];
} lc_ctype;