From 518099af59fbde0e7140459c76f59c9ac24bdf9c Mon Sep 17 00:00:00 2001 From: "Simon L. B. Nielsen" Date: Sun, 7 Jun 2009 19:56:18 +0000 Subject: Import OpenSSL 0.9.8k. --- crypto/rand/rand_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/rand/rand_unix.c') diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 6c2be5cb966d..71b98ec2121d 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -232,7 +232,7 @@ int RAND_poll(void) t.tv_sec = 0; t.tv_usec = usec; - if (FD_SETSIZE > 0 && fd >= FD_SETSIZE) + if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE) { /* can't use select, so just try to read once anyway */ try_read = 1; -- cgit v1.2.3