diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-27 09:03:38 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-27 09:03:49 +0100 |
commit | 5ebb6adef258a2d25e88fe47593f899793f01528 (patch) | |
tree | 4a882ee7bdb4c1d647cb8102670dc08604ba8f24 | |
parent | 0e205518e6f09708e938325e6595fdb7a47a902d (diff) | |
download | curl-bagder/ftp_conn-reduce.tar.gz |
fixup typecast to avoid warning?bagder/ftp_conn-reduce
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2741,7 +2741,7 @@ static CURLcode ftp_statemachine(struct Curl_easy *data, } else if(ftpc->count3 < 1) { ftpc->count3++; - ftpc->count1 += ftpc->count2; /* get next attempt */ + ftpc->count1 += (signed char)ftpc->count2; /* get next attempt */ result = Curl_pp_sendf(data, &ftpc->pp, "AUTH %s", ftpauth[ftpc->count1]); /* remain in this same state */ |