int64_t is long on x86_64, and not always equivalent to long long.