From: Ben Laurie Date: Fri, 15 Apr 2016 08:45:25 +0000 (+0100) Subject: Signed/unsigned compare. X-Git-Tag: OpenSSL_1_1_0-pre5~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=402ec2f52c485b6e804f2a1b43cd27bb77501a8f;p=oweals%2Fopenssl.git Signed/unsigned compare. Reviewed-by: Matt Caswell --- diff --git a/apps/speed.c b/apps/speed.c index 345e539b5f..ee6a4b2d57 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -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",