Fix for strict aliasing rules.