From: Ezra Peisach Date: Mon, 18 Jun 2001 18:50:23 +0000 (+0000) Subject: * kparse.c (strutol): Cast argument to isupper()/tolower() to int X-Git-Tag: krb5-1.3-alpha1~1399 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0306bd7bf11a84774942176837c439e4a1a7275b;p=krb5.git * kparse.c (strutol): Cast argument to isupper()/tolower() to int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13368 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 094e2f841..e5510d499 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Ezra Peisach + + * kparse.c (strutol): Cast argument to isupper()/tolower() to int. + 2001-06-18 Ezra Peisach * g_pw_in_tkt.c: Include krb5.h so that des_read_password() diff --git a/src/lib/krb4/realmofhost.c b/src/lib/krb4/realmofhost.c index 1e4b78601..d795dd709 100644 --- a/src/lib/krb4/realmofhost.c +++ b/src/lib/krb4/realmofhost.c @@ -104,7 +104,7 @@ krb_realmofhost(host) ret_realm[REALM_SZ] = '\0'; /* Upper-case realm */ for (cp = ret_realm; *cp; cp++) - if (islower(*cp)) + if (islower((int) (*cp))) *cp = toupper(*cp); } else { krb_get_lrealm(ret_realm, 1);