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:
@@ -104,7 +104,7 @@ get_cell_and_realm (krb5_context context,
|
|||||||
}
|
}
|
||||||
/* uppercase */
|
/* uppercase */
|
||||||
for (cp = buf; *cp != '\0'; cp++)
|
for (cp = buf; *cp != '\0'; cp++)
|
||||||
*cp = toupper(*cp);
|
*cp = toupper((unsigned char)*cp);
|
||||||
|
|
||||||
d->realm = strdup (buf);
|
d->realm = strdup (buf);
|
||||||
if (d->realm == NULL) {
|
if (d->realm == NULL) {
|
||||||
|
Reference in New Issue
Block a user