diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/locale/locale.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_locale.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c index e38792b51..d555f5da6 100644 --- a/libc/misc/locale/locale.c +++ b/libc/misc/locale/locale.c @@ -820,7 +820,7 @@ void attribute_hidden _locale_init_l(__locale_t base) base->tblwuplow = (const unsigned char *) &__locale_mmap->tblwuplow; base->tblwuplow_diff - = (const int16_t *) &__locale_mmap->tblwuplow_diff; + = (const int32_t *) &__locale_mmap->tblwuplow_diff; /* base->tblwcomb */ /* = (const unsigned char *) &__locale_mmap->tblwcomb; */ /* width?? */ diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h index 6598eafd2..43c1e510e 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_locale.h +++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h @@ -192,7 +192,7 @@ struct __uclibc_locale_struct { const unsigned char *tblwctype; const unsigned char *tblwuplow; /* const unsigned char *tblwcomb; */ - const int16_t *tblwuplow_diff; /* yes... signed */ + const int32_t *tblwuplow_diff; /* yes... signed */ /* width?? */ wchar_t decimal_point_wc; |