diff options
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |