eliminate gcc-4.6.3 warnings for kx.c (except strict-aliasing-rules)