summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.h
diff options
context:
space:
mode:
authorcaozhiyuan <cao.zhiyuan@zte.com.cn>2016-03-11 08:18:29 +0100
committerTao Bao <tbao@google.com>2016-03-21 18:21:03 +0100
commit2584f9c24dcc86f23775e3b6c178ab41605d6d75 (patch)
treefe047a32d72c76c21adc56dd0aefaa182bde1884 /minzip/Zip.h
parentMerge "Add include/ to the Makefile include path." (diff)
downloadandroid_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar.gz
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar.bz2
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar.lz
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar.xz
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.tar.zst
android_bootable_recovery-2584f9c24dcc86f23775e3b6c178ab41605d6d75.zip
Diffstat (limited to '')
-rw-r--r--minzip/Zip.h10
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;
}