lib: silence -Wsign-conversion in base64, strcase, mprintf

Closes #13467
This commit is contained in:
Viktor Szakats 2024-04-24 19:34:12 +02:00
parent 1972588d26
commit 03cf1c7b8c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 22 additions and 20 deletions

View file

@ -71,7 +71,7 @@ static const unsigned char tolowermap[256] = {
altered by the current locale. */
char Curl_raw_toupper(char in)
{
return touppermap[(unsigned char) in];
return (char)touppermap[(unsigned char) in];
}
@ -79,7 +79,7 @@ char Curl_raw_toupper(char in)
altered by the current locale. */
char Curl_raw_tolower(char in)
{
return tolowermap[(unsigned char) in];
return (char)tolowermap[(unsigned char) in];
}
/*