diff options
author | 2015-04-10 13:29:04 +0000 | |
---|---|---|
committer | 2015-04-13 11:44:46 +0000 | |
commit | 8d676c54644b7213a926faa00fc793e0e23fad0b (patch) | |
tree | 24d71595710082e6760fd211b2101f5016222a99 /src/main/cpp | |
parent | 93e8470204a31ba1bb91eb65ed591b3f7916e391 (diff) |
Use int64_t for the offset argument of libarchive function call.
off_t and int64_t are different on 32-bit platforms.
Fixes #18.
--
MOS_MIGRATED_REVID=90802730
Diffstat (limited to 'src/main/cpp')
-rw-r--r-- | src/main/cpp/blaze.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index 63671aaa4d..547a6a5683 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc @@ -798,7 +798,7 @@ static void ActuallyExtractData(const string &argv0, const void *buf; size_t size; - off_t offset; + int64_t offset; while (true) { retval = archive_read_data_block(blaze_zip, &buf, &size, &offset); if (retval == ARCHIVE_EOF) { |