Make untar.c build correctly with libarchive 3.0.

SVN-Revision: 3719
This commit is contained in:
Tim Kientzle committed 2011-09-18 17:50:00 -04:00
1 parent 5256aa1ab5
commit 77ae35f31a
1 file changed
+4
+4
View File
@@ -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);