+2001-07-06 Ezra Peisach <epeisach@mit.edu>
+
+ * sn2princ.c (krb5_sname_to_principal): Cast tolower argument to int.
+
+ * hst_realm.c (krb5_get_host_realm): Cast argument to toupper and
+ tolower to int.
+
2001-06-21 Ezra Peisach <epeisach@mit.edu>
* t_std_conf.c (test_locate_kdc): Get rid of unused variable.
for (cp = local_host; *cp; cp++) {
if (isupper((int) (*cp)))
- *cp = tolower(*cp);
+ *cp = tolower((int) *cp);
}
l = strlen(local_host);
/* strip off trailing dot */
/* Assume the realm name is upper case */
for (cp = realm; *cp; cp++)
if (islower((int) (*cp)))
- *cp = toupper(*cp);
+ *cp = toupper((int) *cp);
} else {
/* We are defaulting to the local realm */
retval = krb5_get_default_realm(context, &realm);
if (type == KRB5_NT_SRV_HST)
for (cp = remote_host; *cp; cp++)
if (isupper((int) (*cp)))
- *cp = tolower(*cp);
+ *cp = tolower((int) (*cp));
/*
* Windows NT5's broken resolver gratuitously tacks on a