diff options
Diffstat (limited to 'contrib/minizip/minizip.c')
-rw-r--r-- | contrib/minizip/minizip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/minizip/minizip.c b/contrib/minizip/minizip.c index 4ce33af..ca26091 100644 --- a/contrib/minizip/minizip.c +++ b/contrib/minizip/minizip.c @@ -13,7 +13,7 @@ */ -#ifndef _WIN32 +#ifndef _WIN32 #ifndef __USE_FILE_OFFSET64 #define __USE_FILE_OFFSET64 #endif @@ -219,15 +219,15 @@ int isLargeFile(const char* filename) int n = fseeko64(pFile, 0, SEEK_END); pos = ftello64(pFile); - + printf("File : %s is %lld bytes\n", filename, pos); - + if(pos >= 0xffffffff) largeFile = 1; fclose(pFile); } - + return largeFile; } @@ -406,7 +406,7 @@ int main(argc,argv) */ if ((password != NULL) && (err==ZIP_OK)) err = getFileCrc(filenameinzip,buf,size_buf,&crcFile); - + zip64 = isLargeFile(filenameinzip); /* The path name saved, should not include a leading slash. */ |