From 2d18d5b53a79d15e6cfb1370cfa129549613c9fd Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 19:17:09 +0000 Subject: [PATCH] * genget.c (LOWER): Cast argument to isupper()/tolower() to int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13380 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/libtelnet/ChangeLog | 4 ++++ src/appl/telnet/libtelnet/genget.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog index fc7a1fd90..d016c4486 100644 --- a/src/appl/telnet/libtelnet/ChangeLog +++ b/src/appl/telnet/libtelnet/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Ezra Peisach + + * genget.c (LOWER): Cast argument to isupper()/tolower() to int. + 2001-06-07 Ezra Peisach * auth-proto.h: Add prototype for kerberos5_cleanup(). diff --git a/src/appl/telnet/libtelnet/genget.c b/src/appl/telnet/libtelnet/genget.c index 4e760d72e..5f6876d38 100644 --- a/src/appl/telnet/libtelnet/genget.c +++ b/src/appl/telnet/libtelnet/genget.c @@ -35,7 +35,7 @@ #include -#define LOWER(x) (isupper(x) ? tolower(x) : (x)) +#define LOWER(x) (isupper((int) x) ? tolower((int) x) : (x)) /* * The prefix function returns 0 if *s1 is not a prefix * of *s2. If *s1 exactly matches *s2, the negative of -- 2.26.2