diff options
Diffstat (limited to 'apps/rand.c')
-rw-r--r-- | apps/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rand.c b/apps/rand.c index 05b944287a..0ab22a99c8 100644 --- a/apps/rand.c +++ b/apps/rand.c @@ -102,7 +102,7 @@ int rand_main(int argc, char **argv) chunk = num; if (chunk > (int)sizeof(buf)) - chunk = sizeof buf; + chunk = sizeof(buf); r = RAND_bytes(buf, chunk); if (r <= 0) goto end; |