diff options
Diffstat (limited to 'src/lib/libcrypto/rand/rand_unix.c')
-rw-r--r-- | src/lib/libcrypto/rand/rand_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/rand_unix.c b/src/lib/libcrypto/rand/rand_unix.c index 6c2be5cb96..71b98ec212 100644 --- a/src/lib/libcrypto/rand/rand_unix.c +++ b/src/lib/libcrypto/rand/rand_unix.c | |||
@@ -232,7 +232,7 @@ int RAND_poll(void) | |||
232 | t.tv_sec = 0; | 232 | t.tv_sec = 0; |
233 | t.tv_usec = usec; | 233 | t.tv_usec = usec; |
234 | 234 | ||
235 | if (FD_SETSIZE > 0 && fd >= FD_SETSIZE) | 235 | if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE) |
236 | { | 236 | { |
237 | /* can't use select, so just try to read once anyway */ | 237 | /* can't use select, so just try to read once anyway */ |
238 | try_read = 1; | 238 | try_read = 1; |