projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize pval.
[oweals/openssl.git]
/
apps
/
rand.c
diff --git
a/apps/rand.c
b/apps/rand.c
index 63724bc730250236200d08d06b95ab124863acac..a893896033a8c4422a9c6138ae31deb17602e4e1 100644
(file)
--- a/
apps/rand.c
+++ b/
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)