]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/arc4random.c.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / gen / FreeBSD / arc4random.c.patch
CommitLineData
224c7076
A
1--- arc4random.c.orig 2006-02-19 03:33:43.000000000 -0800
2+++ arc4random.c 2006-02-19 15:35:04.000000000 -0800
3@@ -117,7 +117,7 @@
4 /* fd < 0? Ah, what the heck. We'll just take whatever was on the
5 * stack... */
6
7- arc4_addrandom(as, (void *) &rdat, sizeof(rdat));
8+ arc4_addrandom(as, (u_char *) &rdat, sizeof(rdat));
9
10 /*
11 * Throw away the first N bytes of output, as suggested in the