Fix compiler warning

This commit is contained in:
Yang Tse
2007-10-02 15:26:30 +00:00
parent a137109a0c
commit 048bfeaaef
2 changed files with 2 additions and 2 deletions

View File

@@ -3264,7 +3264,7 @@ static CURLcode ftp_nb_type(struct connectdata *conn,
{
struct ftp_conn *ftpc = &conn->proto.ftpc;
CURLcode result;
char want = ascii?'A':'I';
char want = (char)(ascii?'A':'I');
if (ftpc->transfertype == want) {
state(conn, newstate);