Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
authorroland <roland>
Mon, 29 Jul 1996 02:48:24 +0000 (02:48 +0000)
committerroland <roland>
Mon, 29 Jul 1996 02:48:24 +0000 (02:48 +0000)
* locale/loadlocale.c (_nl_load_locale):  Add cast to prevent
warning.

locale/loadlocale.c

index 464f8ba..fa7320a 100644 (file)
@@ -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)
-       >= st.st_size))
+       >= (unsigned int) st.st_size))
     {
       /* Insufficient data.  */
       errno = EINVAL;