Fixed aliasing warnings