mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-14 17:29:57 +00:00
Silence a pedantic GCC warning by adding reinterpret_cast<void*>.
Here we're casting a function pointer to `void*`, which is not doable with our implicit-conversions-only `hr::voidp(x)` helper, and is not even doable with a `static_cast`; we must `reinterpret_cast`.
This commit is contained in:
parent
7a706478dc
commit
561a3ebade
Loading…
Reference in New Issue
Block a user