diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-31 16:07:04 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-31 16:07:04 +0200 |
commit | bf290c2306d8554b82a9f1d30279b90bf8606fa6 (patch) | |
tree | 5be2c7b87bc54fac4d330cd82c156b3e6d4b450f /src/libutil/archive.hh | |
parent | 2ae9ac23698276c3e045d9b21f5c6ffb40f38324 (diff) | |
parent | 0604cfd0ebedcbc0354b783ffb77b95399b9aec3 (diff) |
Merge remote-tracking branch 'origin/master' into markdown
Diffstat (limited to 'src/libutil/archive.hh')
-rw-r--r-- | src/libutil/archive.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh index 57780d16a..5665732d2 100644 --- a/src/libutil/archive.hh +++ b/src/libutil/archive.hh @@ -57,8 +57,8 @@ struct ParseSink virtual void createRegularFile(const Path & path) { }; virtual void isExecutable() { }; - virtual void preallocateContents(unsigned long long size) { }; - virtual void receiveContents(unsigned char * data, unsigned int len) { }; + virtual void preallocateContents(uint64_t size) { }; + virtual void receiveContents(unsigned char * data, size_t len) { }; virtual void createSymlink(const Path & path, const string & target) { }; }; @@ -77,7 +77,7 @@ struct RetrieveRegularNARSink : ParseSink regular = false; } - void receiveContents(unsigned char * data, unsigned int len) + void receiveContents(unsigned char * data, size_t len) { sink(data, len); } |