replace long long with int64_t