diff --git a/appl/ftp/ftp/krb4.c b/appl/ftp/ftp/krb4.c index 8429afa31..84b8985ea 100644 --- a/appl/ftp/ftp/krb4.c +++ b/appl/ftp/ftp/krb4.c @@ -224,7 +224,7 @@ int krb4_getc(FILE *F) } if(bytes){ bytes--; - return data_buffer[index++]; + return (unsigned char)data_buffer[index++]; } return EOF; }