diff options
Diffstat (limited to 'crypto/openssl/apps/rand.c')
-rw-r--r-- | crypto/openssl/apps/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/apps/rand.c b/crypto/openssl/apps/rand.c index 63724bc..a893896 100644 --- a/crypto/openssl/apps/rand.c +++ b/crypto/openssl/apps/rand.c @@ -205,7 +205,7 @@ int MAIN(int argc, char **argv) int chunk; chunk = num; - if (chunk > sizeof buf) + if (chunk > (int)sizeof(buf)) chunk = sizeof buf; r = RAND_bytes(buf, chunk); if (r <= 0) |