Created attachment 162892 [details]
A patch to cast the pointer properly and to silence the compiler
A compiler warning gets triggered in vain on big-endian 64 bit systems.
Functionally the existing code should actually work correctly.
The extra noise during builds still deserves to be silenced I guess.
The same patch applies to 11-current and 10.2-stable, probably also
to older branches.