diff options
author | caozhiyuan <cao.zhiyuan@zte.com.cn> | 2016-03-21 20:18:11 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-21 20:18:11 +0100 |
commit | a61aed2f31c399aba2a15851e15d48c7afc7e5c3 (patch) | |
tree | 6b376880b4917a1f6d14b63757cd1300b27fca44 /minzip/Zip.h | |
parent | recovery: Move SwipeDetector into common location am: 9020e0f (diff) | |
parent | Merge "Fix: full ota package larger than 2GB fails to upgrade" (diff) | |
download | android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar.gz android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar.bz2 android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar.lz android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar.xz android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.tar.zst android_bootable_recovery-a61aed2f31c399aba2a15851e15d48c7afc7e5c3.zip |
Diffstat (limited to 'minzip/Zip.h')
-rw-r--r-- | minzip/Zip.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/minzip/Zip.h b/minzip/Zip.h index 86d8db597..e6b19e1f0 100644 --- a/minzip/Zip.h +++ b/minzip/Zip.h @@ -32,9 +32,9 @@ extern "C" { typedef struct ZipEntry { unsigned int fileNameLen; const char* fileName; // not null-terminated - long offset; - long compLen; - long uncompLen; + uint32_t offset; + uint32_t compLen; + uint32_t uncompLen; int compression; long modTime; long crc32; @@ -85,10 +85,10 @@ void mzCloseZipArchive(ZipArchive* pArchive); const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive, const char* entryName); -INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) { +INLINE uint32_t mzGetZipEntryOffset(const ZipEntry* pEntry) { return pEntry->offset; } -INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry) { +INLINE uint32_t mzGetZipEntryUncompLen(const ZipEntry* pEntry) { return pEntry->uncompLen; } |