iolog: fix warning for 32-bit compilation