mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-28 03:54:08 +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…
x
Reference in New Issue
Block a user