io.h: fix integer overflow.