Avoid a strict-aliasing warning.

Only appears with optimizations enabled.