aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/archive.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-30 13:00:30 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-30 13:00:30 +0200
commitebee2b7852a8c0441e9470a0df8ec3c71d322109 (patch)
tree3e173a200770444146b049c706f3369e46ec2c15 /src/libutil/archive.cc
parent3f3740d676b605c4dae67b6e1b6a873b4a9beadb (diff)
receiveContents(): unsigned int -> size_t
Diffstat (limited to 'src/libutil/archive.cc')
-rw-r--r--src/libutil/archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc
index 51c88537e..c07e710cd 100644
--- a/src/libutil/archive.cc
+++ b/src/libutil/archive.cc
@@ -338,7 +338,7 @@ struct RestoreSink : ParseSink
#endif
}
- void receiveContents(unsigned char * data, unsigned int len)
+ void receiveContents(unsigned char * data, size_t len)
{
writeFull(fd.get(), data, len);
}