From: Ezra Peisach Date: Mon, 18 Jun 2001 19:09:59 +0000 (+0000) Subject: * sim_client.c (main): Cast argument to isupper()/tolower() to int X-Git-Tag: krb5-1.3-alpha1~1390 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8784e9ef901781fe60a5323e513384cda6162ffa;p=krb5.git * sim_client.c (main): Cast argument to isupper()/tolower() to int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13377 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/simple/client/ChangeLog b/src/appl/simple/client/ChangeLog index 6ac62bb75..ada2764c8 100644 --- a/src/appl/simple/client/ChangeLog +++ b/src/appl/simple/client/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Ezra Peisach + + * sim_client.c (main): Cast argument to isupper()/tolower() to int. + Tue Sep 26 18:15:47 2000 Ezra Peisach * sim_client.c: Warnings cleanups unsigned vs signed. diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index efe71cc88..6da92fadb 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -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));