commit 52b7288713ecb189fdd473f9dfc7f9a8c4fb1ec2
parent eee5fc4106b389daeb709112f77b1a2e41ceee30
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Thu, 16 Mar 2017 11:56:41 +0000
More arc4random_addrandom fixes, how can clang be such a PITA ?
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sysdeps/tryarc4random_addrandom.c b/src/sysdeps/tryarc4random_addrandom.c
@@ -7,7 +7,7 @@
int main (void)
{
- unsigned char *blah = "" ;
+ unsigned char *blah = (unsigned char *)"" ;
arc4random_addrandom(blah, 1) ;
return 0 ;
}