defeat gcc/g++ strict aliasing and typo fix.