* kparse.c (strutol): Cast argument to isupper()/tolower() to int
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:50:23 +0000 (18:50 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:50:23 +0000 (18:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13368 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/realmofhost.c

index 094e2f841fae7287e948a44d4e24c87a8a26136f..e5510d4995efe2cf3b5f70252ee83bd90b2438c9 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-18  Ezra Peisach  <epeisach@mit.edu>
+
+       * kparse.c (strutol): Cast argument to isupper()/tolower() to int.
+
 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
 
        * g_pw_in_tkt.c: Include krb5.h so that des_read_password()
index 1e4b78601a62311b6eec5922054d8fb374d5b4a3..d795dd70974cd958990a6edc6051154eebc9a839 100644 (file)
@@ -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);