diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-30 18:27:25 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-30 18:27:25 -0400 |
commit | eee6ef86cd5f00db01369581bf3d2bc79710de0c (patch) | |
tree | e2068a90f75cb04697a8da374cd749bb99bd0f43 /src/libutil/hash.hh | |
parent | 1d7d94ceea0dbed564a5c3812f00be7fdaf1aa52 (diff) | |
parent | 0744f7f83bfaf82395b05a2e68cc86e46a82d1f0 (diff) |
Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errors
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 026e80e71..d4badbab3 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -116,7 +116,7 @@ Hash hashFile(HashType ht, const Path & path); /* Compute the hash of the given path. The hash is defined as (essentially) hashString(ht, dumpPath(path)). */ -typedef std::pair<Hash, unsigned long long> HashResult; +typedef std::pair<Hash, uint64_t> HashResult; HashResult hashPath(HashType ht, const Path & path, PathFilter & filter = defaultPathFilter); @@ -146,7 +146,7 @@ class HashSink : public BufferedSink, public AbstractHashSink private: HashType ht; Ctx * ctx; - unsigned long long bytes; + uint64_t bytes; public: HashSink(HashType ht); |