mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:53:36 +03:00
lib: silence -Wsign-conversion in base64, strcase, mprintf
Closes #13467
This commit is contained in:
parent
1972588d26
commit
03cf1c7b8c
3 changed files with 22 additions and 20 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue