summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.h
diff options
context:
space:
mode:
authornkk71 <nkk71x@gmail.com>2016-01-19 15:36:47 +0100
committerDees Troy <dees_troy@teamw.in>2016-01-22 17:45:46 +0100
commit6069a793eaa2e11e0c53af0ab063d22fb1f9f531 (patch)
tree329f905d39e9e7134f948e9dc49087bad03b7bcc /minzip/Zip.h
parentFix a bunch of messages (diff)
downloadandroid_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar.gz
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar.bz2
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar.lz
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar.xz
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.tar.zst
android_bootable_recovery-6069a793eaa2e11e0c53af0ab063d22fb1f9f531.zip
Diffstat (limited to '')
-rw-r--r--minzip/Zip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/minzip/Zip.h b/minzip/Zip.h
index 86d8db597..0a0345159 100644
--- a/minzip/Zip.h
+++ b/minzip/Zip.h
@@ -32,7 +32,7 @@ extern "C" {
typedef struct ZipEntry {
unsigned int fileNameLen;
const char* fileName; // not null-terminated
- long offset;
+ loff_t offset;
long compLen;
long uncompLen;
int compression;
@@ -85,7 +85,7 @@ void mzCloseZipArchive(ZipArchive* pArchive);
const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive,
const char* entryName);
-INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) {
+INLINE loff_t mzGetZipEntryOffset(const ZipEntry* pEntry) {
return pEntry->offset;
}
INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry) {