Avoid overflow error for large int on 64-bit