commit eee5fc4106b389daeb709112f77b1a2e41ceee30 parent ec99de4572e4130d4ec1a04a8081cca1ab202495 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Thu, 16 Mar 2017 11:55:00 +0000 Fix arc4random_addrandom detection for -Werror=pointer-sign Diffstat:
M | src/sysdeps/tryarc4random_addrandom.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/sysdeps/tryarc4random_addrandom.c b/src/sysdeps/tryarc4random_addrandom.c @@ -7,6 +7,7 @@ int main (void) { - arc4random_addrandom("", 1) ; + unsigned char *blah = "" ; + arc4random_addrandom(blah, 1) ; return 0 ; }