commit 3501ef1df11ec63fb4cddbbd4e756f374dd71ae4 parent 46886111a32cfde5b6bb23622c1f09cf0189dc22 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Fri, 14 Oct 2016 17:39:55 +0000 Add a cast to arc4random_addrandom invocation to make clang happy Diffstat:
M | src/librandom/random_init.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 ; }