fix x86 build (i64 => i32), it's ugly