Fix strict aliasing

Signed-off-by: kecinzer <kecinzer@gmail.com>