aboutsummaryrefslogtreecommitdiff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-30 19:15:53 +0000
committerRoland McGrath <roland@gnu.org>1996-07-30 19:15:53 +0000
commit55ad485cee666ff3f771048f0832645312879caf (patch)
tree73286954c9e269a01c66319c40683599ce180094 /locale/loadlocale.c
parentd69b7ce7eeaea3e383d400237b3b00c83b8130fc (diff)
downloadglibc-55ad485cee666ff3f771048f0832645312879caf.zip
glibc-55ad485cee666ff3f771048f0832645312879caf.tar.gz
glibc-55ad485cee666ff3f771048f0832645312879caf.tar.bz2
Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion protection.
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index fa7320a..d465ed1 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;