diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-14 17:39:55 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-10-14 17:39:55 +0000 |
commit | 3501ef1df11ec63fb4cddbbd4e756f374dd71ae4 (patch) | |
tree | d81ad2cf1b9dfc47ac8be2b73f4060cccdfc243a /src | |
parent | 46886111a32cfde5b6bb23622c1f09cf0189dc22 (diff) | |
download | skalibs-3501ef1df11ec63fb4cddbbd4e756f374dd71ae4.tar.xz |
Add a cast to arc4random_addrandom invocation to make clang happy
Diffstat (limited to 'src')
-rw-r--r-- | src/librandom/random_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librandom/random_init.c b/src/librandom/random_init.c index a26217f..18bb8fa 100644 --- a/src/librandom/random_init.c +++ b/src/librandom/random_init.c @@ -12,7 +12,7 @@ int random_init () { char seed[160] ; random_makeseed(seed) ; - arc4random_addrandom(seed, 160) ; + arc4random_addrandom((unsigned char *)seed, 160) ; return 1 ; } |