summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librandom/random_init.c2
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 ;
}