Make untar.c build correctly with libarchive 3.0.
SVN-Revision: 3719
This commit is contained in:
1 parent
5256aa1ab5
commit
77ae35f31a
1 file changed
+4
@@ -200,7 +200,11 @@ copy_data(struct archive *ar, struct archive *aw)
|
||||
int r;
|
||||
const void *buff;
|
||||
size_t size;
|
||||
#if ARCHIVE_VERSION >= 3000000
|
||||
int64_t offset;
|
||||
#else
|
||||
off_t offset;
|
||||
#endif
|
||||
|
||||
for (;;) {
|
||||
r = archive_read_data_block(ar, &buff, &size, &offset);
|
||||
|
||||
Reference in new issue
Block a user