mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
openssl: fix comparison between signed and unsigned integer expressions
This commit is contained in:
parent
99d708a016
commit
68aac9a831
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ static const char *SSL_ERROR_to_str(int err)
|
|||
"SSL_ERROR_WANT_ASYNC_JOB", /* 10 */
|
||||
"SSL_ERROR_WANT_EARLY", /* 11 */
|
||||
};
|
||||
return ((err >= 0 && err < sizeof str / sizeof str[0]) ?
|
||||
return ((err >= 0 && err < (int)(sizeof str / sizeof str[0])) ?
|
||||
str[err] : "SSL_ERROR unknown");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue