diff options
author | 2010-11-24 12:56:06 -0800 | |
---|---|---|
committer | 2010-12-08 11:21:30 -0800 | |
commit | ddb76c4644756b31be948d70aaa8ee541dd94999 (patch) | |
tree | 782d260d2da982941148be7c1a0a0780749cdfdc /libs/utils/ZipFileCRO.cpp | |
parent | 8028a951c3aa74990907efb9376d1093d84084af (diff) |
Change assets to use 64-bit API
The asset system and supporting libraries were using off_t instead of
off64_t to access files larger than 2GB (32-bit signed). This change
replaces all off_t with off64_t and lseek64.
There is a new utils/Compat.h added for Mac OS compatibility.
Also fixed some size-related compiler warnings.
Bug: 3205336
Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
Diffstat (limited to 'libs/utils/ZipFileCRO.cpp')
-rw-r--r-- | libs/utils/ZipFileCRO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/ZipFileCRO.cpp b/libs/utils/ZipFileCRO.cpp index 16b219cad4a2..55dfd9f873b8 100644 --- a/libs/utils/ZipFileCRO.cpp +++ b/libs/utils/ZipFileCRO.cpp @@ -40,7 +40,7 @@ ZipEntryCRO ZipFileCRO_findEntryByName(ZipFileCRO zipToken, bool ZipFileCRO_getEntryInfo(ZipFileCRO zipToken, ZipEntryRO entryToken, int* pMethod, size_t* pUncompLen, - size_t* pCompLen, off_t* pOffset, long* pModWhen, long* pCrc32) { + size_t* pCompLen, off64_t* pOffset, long* pModWhen, long* pCrc32) { ZipFileRO* zip = (ZipFileRO*)zipToken; ZipEntryRO entry = (ZipEntryRO)entryToken; return zip->getEntryInfo(entry, pMethod, pUncompLen, pCompLen, pOffset, |