Fix aliasing violation.