diff options
author | Ben Laurie <ben@links.org> | 2016-04-15 09:45:25 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2016-04-18 10:21:56 +0100 |
commit | 402ec2f52c485b6e804f2a1b43cd27bb77501a8f (patch) | |
tree | bd2d3bb015f0bfc26596e2c86d863c4ab43bd375 /apps/speed.c | |
parent | d32f5d8733df9938727710d4194e92813c421ef1 (diff) | |
download | openssl-402ec2f52c485b6e804f2a1b43cd27bb77501a8f.tar.gz |
Signed/unsigned compare.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |