* sim_client.c (main): Cast argument to isupper()/tolower() to int
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 19:09:59 +0000 (19:09 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 19:09:59 +0000 (19:09 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13377 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/simple/client/ChangeLog
src/appl/simple/client/sim_client.c

index 6ac62bb751e778ca8f04dedb74db46aa264e4eb2..ada2764c8c61b0590a17187474dc414cbbb72ab3 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-18  Ezra Peisach  <epeisach@mit.edu>
+
+       * sim_client.c (main): Cast argument to isupper()/tolower() to int.
+
 Tue Sep 26 18:15:47 2000  Ezra Peisach  <epeisach@mit.edu>
 
        * sim_client.c: Warnings cleanups unsigned vs signed.
index efe71cc889bbb529ea9f327fc0343dbfed4abf52..6da92fadbd551e8e4ee149fc400735100ead161f 100644 (file)
@@ -165,8 +165,8 @@ main(argc, argv)
 
     /* lower-case to get name for "instance" part of service name */
     for (cp = full_hname; *cp; cp++)
-        if (isupper(*cp))
-            *cp = tolower(*cp);
+        if (isupper((int) *cp))
+            *cp = tolower((int) *cp);
 
     /* Set server's address */
     (void) memset((char *)&s_sock, 0, sizeof(s_sock));