Fix strict aliasing violation.