mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 20:41:27 -04:00
Fix another arc4random_buf-related warning
This commit is contained in:
parent
5cb3865a40
commit
e64a2b0b11
@ -77,7 +77,8 @@ ev_arc4random_buf(void *buf, size_t n)
|
|||||||
* trickery.)
|
* trickery.)
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
void (*tptr)() = (void*)arc4random_buf;
|
void (*tptr)(void *,size_t) =
|
||||||
|
(void (*)(void*,size_t))arc4random_buf;
|
||||||
if (tptr != NULL) {
|
if (tptr != NULL) {
|
||||||
return arc4random_buf(buf, n);
|
return arc4random_buf(buf, n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user