From 402ec2f52c485b6e804f2a1b43cd27bb77501a8f Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Fri, 15 Apr 2016 09:45:25 +0100 Subject: [PATCH] Signed/unsigned compare. Reviewed-by: Matt Caswell --- apps/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.25.1