From 5ebb6adef258a2d25e88fe47593f899793f01528 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 27 Jan 2021 09:03:38 +0100 Subject: fixup typecast to avoid warning? --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ftp.c b/lib/ftp.c index 83d948687..808ea24a8 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 */ -- cgit v1.2.1