From 52b7288713ecb189fdd473f9dfc7f9a8c4fb1ec2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 16 Mar 2017 11:56:41 +0000 Subject: More arc4random_addrandom fixes, how can clang be such a PITA ? --- src/sysdeps/tryarc4random_addrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sysdeps/tryarc4random_addrandom.c b/src/sysdeps/tryarc4random_addrandom.c index d1394bc..1d5f84f 100644 --- 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 ; } -- cgit v1.2.3