summaryrefslogtreecommitdiff
path: root/src/sysdeps
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-16 11:56:41 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-16 11:56:41 +0000
commit52b7288713ecb189fdd473f9dfc7f9a8c4fb1ec2 (patch)
tree71fff55d78de0597b6d9e44d6fb129996ba61324 /src/sysdeps
parenteee5fc4106b389daeb709112f77b1a2e41ceee30 (diff)
downloadskalibs-52b7288713ecb189fdd473f9dfc7f9a8c4fb1ec2.tar.xz
More arc4random_addrandom fixes, how can clang be such a PITA ?
Diffstat (limited to 'src/sysdeps')
-rw-r--r--src/sysdeps/tryarc4random_addrandom.c2
1 files changed, 1 insertions, 1 deletions
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 ;
}