cast argument to toupper to unsigned char

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14496 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-01-08 22:57:18 +00:00
parent 7ee1cf1d33
commit 5f77418366

View File

@@ -104,7 +104,7 @@ get_cell_and_realm (krb5_context context,
}
/* uppercase */
for (cp = buf; *cp != '\0'; cp++)
*cp = toupper(*cp);
*cp = toupper((unsigned char)*cp);
d->realm = strdup (buf);
if (d->realm == NULL) {