summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/gen_collate.c2
-rw-r--r--extra/locale/gen_wctype.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_collate.c b/extra/locale/gen_collate.c
index 7d90bcd71..a286ed654 100644
--- a/extra/locale/gen_collate.c
+++ b/extra/locale/gen_collate.c
@@ -3482,7 +3482,7 @@ int nu_memcmp(const void *a, const void *b)
size_t newopt(tbl_item *ut, size_t usize, int shift, table_data *tbl)
{
- static int recurse = 0;
+ static smallint recurse;
tbl_item *ti[RANGE]; /* table index */
size_t numblocks;
size_t blocksize;
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c
index c5279aadd..ac45659d6 100644
--- a/extra/locale/gen_wctype.c
+++ b/extra/locale/gen_wctype.c
@@ -767,7 +767,7 @@ int main(int argc, char **argv)
size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl)
{
- static int recurse = 0;
+ static smallint recurse;
unsigned char *ti[RANGE+1]; /* table index */
size_t numblocks;
size_t blocksize;