summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_unix.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2009-02-15 14:08:51 +0000
committerBen Laurie <ben@openssl.org>2009-02-15 14:08:51 +0000
commitb3f3407850d5e4b2a91aa7c7db39302bb9e80405 (patch)
treebdb0ae7b0fdbbf90bb66eec925ed337a115ca840 /crypto/rand/rand_unix.c
parent477fd4596feb89fe943130c8b1a4e37a0d3764bb (diff)
Use new common flags and fix resulting warnings.
Diffstat (limited to 'crypto/rand/rand_unix.c')
-rw-r--r--crypto/rand/rand_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c
index e978c4a930..550ad955f0 100644
--- a/crypto/rand/rand_unix.c
+++ b/crypto/rand/rand_unix.c
@@ -238,7 +238,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;