Revert "upgrade some int to int64_t to avoid overflows in reporting" This reverts commit 36802ace37ad6bbcfd995d041b2add3906f8f98b.