Merge "Fix IO_INPUT with 64-bit." into lmp-dev