diff options
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r-- | locale/loadlocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c index fa7320a49a..d465ed131e 100644 --- a/locale/loadlocale.c +++ b/locale/loadlocale.c @@ -181,7 +181,7 @@ _nl_load_locale (struct loaded_l10nfile *file, int category) if (W (filedata->nstrings) < _nl_category_num_items[category] || (sizeof *filedata + W (filedata->nstrings) * sizeof (unsigned int) - >= (unsigned int) st.st_size)) + >= (size_t) st.st_size)) { /* Insufficient data. */ errno = EINVAL; |