mirror of https://github.com/openssl/openssl
Signed/unsigned compare.
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
d32f5d8733
commit
402ec2f52c
|
@ -1160,7 +1160,7 @@ static int run_benchmark(int async_jobs, int (*loop_function)(void *), loopargs_
|
|||
max_fd = job_fd;
|
||||
}
|
||||
|
||||
if (max_fd >= FD_SETSIZE) {
|
||||
if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) {
|
||||
BIO_printf(bio_err,
|
||||
"Error: max_fd (%d) must be smaller than FD_SETSIZE (%d). "
|
||||
"Decrease the value of async_jobs\n",
|
||||
|
|
Loading…
Reference in New Issue