aboutsummaryrefslogtreecommitdiff
path: root/gcc/intl/loadmsgcat.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-11-03 21:51:46 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-11-03 21:51:46 +0000
commite6313aee750b42582127c521f51f341118dcef10 (patch)
treebb10aeffada80441c6422c40d4c6094c28cc4670 /gcc/intl/loadmsgcat.c
parent2e80c17d6ded7a23dae395eb6f93587ffe7f934d (diff)
downloadgcc-e6313aee750b42582127c521f51f341118dcef10.zip
gcc-e6313aee750b42582127c521f51f341118dcef10.tar.gz
gcc-e6313aee750b42582127c521f51f341118dcef10.tar.bz2
l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned char'.
* l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned char'. * loadmsgcat.c (_nl_load_domain): Likewise. * localealias.c (read_alias_file, alias_compare): Likewise. * localcharset.c: Include "gettextP.h". * plural.y (__attribute__): Define. (yyerror): Mark parameter with __attribute__ ((__unused__)). * plural.c: Regenerate. From-SVN: r46743
Diffstat (limited to 'gcc/intl/loadmsgcat.c')
-rw-r--r--gcc/intl/loadmsgcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/intl/loadmsgcat.c b/gcc/intl/loadmsgcat.c
index 7055e52..bf444f6 100644
--- a/gcc/intl/loadmsgcat.c
+++ b/gcc/intl/loadmsgcat.c
@@ -521,7 +521,7 @@ _nl_load_domain (domain_file, domainbinding)
struct parse_args args;
nplurals += 9;
- while (*nplurals != '\0' && isspace (*nplurals))
+ while (*nplurals != '\0' && isspace ((unsigned char)*nplurals))
++nplurals;
#if defined HAVE_STRTOUL || defined _LIBC
n = strtoul (nplurals, &endp, 10);