diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
commit | 03f4fafc27bd9f8def1df6a229a17fc2c3f0e0a0 (patch) | |
tree | ac78cb209f336e5c3cd1d145e2ed1444ba2e31c2 /src/libutil/hash.hh | |
parent | df707d05d1671677efe5935356959722c4cc3a02 (diff) | |
parent | 088dcea0e80bf2861fd9d6b808e76a1669b7122a (diff) |
Merge remote-tracking branch 'upstream/master' into misc-ca
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 98ee1bed0..abcd58f24 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -111,7 +111,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); @@ -141,7 +141,7 @@ class HashSink : public BufferedSink, public AbstractHashSink private: HashType ht; Ctx * ctx; - unsigned long long bytes; + uint64_t bytes; public: HashSink(HashType ht); |