From 0306bd7bf11a84774942176837c439e4a1a7275b Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 18:50:23 +0000 Subject: [PATCH] * 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 --- src/lib/krb4/ChangeLog | 4 ++++ src/lib/krb4/realmofhost.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.26.2