reinterpret_cast may not convert a pointer-to-function to a
void-pointer. Take a detour through intptr_t and *then* convert to a
pointer-to-function.
This fixes a warning emitted by GCC.
Differential D4624
SBHostOS: Fix a pointer-to-function to void-pointer cast majnemer on Jul 22 2014, 1:13 PM. Authored by
Details reinterpret_cast may not convert a pointer-to-function to a This fixes a warning emitted by GCC.
Diff Detail
|