diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-ctype.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index 79e01ba69b..96124988ce 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -88,8 +88,8 @@ struct locale_ctype_t #define MAX_NR_CHARMAP 16 const char *mapnames[MAX_NR_CHARMAP]; u_int32_t *map_collection[MAX_NR_CHARMAP]; - unsigned int map_collection_max[MAX_NR_CHARMAP]; - unsigned int map_collection_act[MAX_NR_CHARMAP]; + u_int32_t map_collection_max[MAX_NR_CHARMAP]; + u_int32_t map_collection_act[MAX_NR_CHARMAP]; size_t map_collection_nr; size_t last_map_idx; unsigned int from_map_char; @@ -821,8 +821,7 @@ implementation limit: no more than %d character maps allowed"), ctype->mapnames[cnt] = name; if (max_chars == 0) - ctype->map_collection_max[cnt] = charset->mb_cur_max == 1 ? 256 - : 512; + ctype->map_collection_max[cnt] = charset->mb_cur_max == 1 ? 256 : 512; else ctype->map_collection_max[cnt] = max_chars; |