From 3501ef1df11ec63fb4cddbbd4e756f374dd71ae4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 14 Oct 2016 17:39:55 +0000 Subject: Add a cast to arc4random_addrandom invocation to make clang happy --- src/librandom/random_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ; } -- cgit v1.2.3