mirror of https://github.com/oxen-io/lokinet
Avoid strict aliasing warning on function pointers
Cast via an ordinary function pointer rather than a function pointer reference to avoid the warning. Also make the pointer in `Func_t` explicit rather than implicit (deduced into the `Func_t` type) to make it clearer what is going on here.pull/1969/head
parent
ef4e720890
commit
58eec9ed11
Loading…
Reference in New Issue