cast argument to toupper to unsigned char,

from Christian Biere <christianbiere@gmx.de> via NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12009 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-04-14 11:46:41 +00:00
parent 42b442ed1c
commit c12532d685
2 changed files with 5 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ strupr(char *str)
char *s;
for(s = str; *s; s++)
*s = toupper(*s);
*s = toupper((unsigned char)*s);
return str;
}
#endif