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