From c84e1ed7655c34176f67f000df63298a53303d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 8 Jan 2005 23:11:12 +0000 Subject: [PATCH] cast argument to tolower to unsigned char git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14500 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index 45e6a4637..12f328597 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -351,7 +351,7 @@ getreply (int expecteof) continue; case '\n': *p++ = '\0'; - if(isdigit(buf[0])){ + if(isdigit((unsigned char)buf[0])){ sscanf(buf, "%d", &code); if(code == 631){ code = 0;