mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 11:53:00 -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.)
|
||||
*/
|
||||
{
|
||||
void (*tptr)() = (void*)arc4random_buf;
|
||||
void (*tptr)(void *,size_t) =
|
||||
(void (*)(void*,size_t))arc4random_buf;
|
||||
if (tptr != NULL) {
|
||||
return arc4random_buf(buf, n);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user