cast argument to tolower to unsigned char

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14500 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-01-08 23:11:12 +00:00
parent 1ddf04ca40
commit c84e1ed765

View File

@@ -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;