summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_rand.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-02-09 23:01:08 +0000
committerBen Laurie <ben@openssl.org>1999-02-09 23:01:08 +0000
commitbf5dcd135fb77dc23d8566b6456317a10e806b7d (patch)
treec4af8eeb22fcec5a1b58ec82d476e8757e57ef5f /crypto/bn/bn_rand.c
parent119f62881a57ac10f1b347492da43589d16012f8 (diff)
More exactitude with function arguments.
Diffstat (limited to 'crypto/bn/bn_rand.c')
-rw-r--r--crypto/bn/bn_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c
index 75b6b0493b..7b21821fe6 100644
--- a/crypto/bn/bn_rand.c
+++ b/crypto/bn/bn_rand.c
@@ -85,7 +85,7 @@ int bottom;
/* make a random number and set the top and bottom bits */
time(&tim);
- RAND_seed((unsigned char *)&tim,sizeof(tim));
+ RAND_seed(&tim,sizeof(tim));
RAND_bytes(buf,(int)bytes);
if (top)