mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-13 11:14:30 +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:
1 parent
7a706478dc
commit
561a3ebade
1 file changed
+1
-1
Reference in new issue
Block a user