aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-31 16:07:04 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-31 16:07:04 +0200
commitbf290c2306d8554b82a9f1d30279b90bf8606fa6 (patch)
tree5be2c7b87bc54fac4d330cd82c156b3e6d4b450f /src/libutil/hash.hh
parent2ae9ac23698276c3e045d9b21f5c6ffb40f38324 (diff)
parent0604cfd0ebedcbc0354b783ffb77b95399b9aec3 (diff)
Merge remote-tracking branch 'origin/master' into markdown
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r--src/libutil/hash.hh4
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);