change to use 64-bit functions when needed to avoid overflow
1 file changed