aboutsummaryrefslogtreecommitdiff
path: root/contrib/minizip/minizip.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2024-07-29 15:06:11 -0700
committerMark Adler <madler@alumni.caltech.edu>2024-07-31 22:32:47 -0700
commitbe24a8f4ca8ae9870c1af4bd5a59375bb36c49fc (patch)
tree87c7096a01dc0fb320ce8bd9eb224b9406ab36a9 /contrib/minizip/minizip.c
parent164b8e3c9f02e2680dfad35f8c0778f8f2ce3096 (diff)
downloadzlib-be24a8f4ca8ae9870c1af4bd5a59375bb36c49fc.tar.gz
zlib-be24a8f4ca8ae9870c1af4bd5a59375bb36c49fc.tar.bz2
zlib-be24a8f4ca8ae9870c1af4bd5a59375bb36c49fc.zip
Avoid use of stdint.h in contrib/minizip.
Diffstat (limited to 'contrib/minizip/minizip.c')
-rw-r--r--contrib/minizip/minizip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/minizip/minizip.c b/contrib/minizip/minizip.c
index 66e88d0..a44e36a 100644
--- a/contrib/minizip/minizip.c
+++ b/contrib/minizip/minizip.c
@@ -62,6 +62,7 @@
62#endif 62#endif
63 63
64#include "zip.h" 64#include "zip.h"
65#include "ints.h"
65 66
66#ifdef _WIN32 67#ifdef _WIN32
67 #define USEWIN32IOAPI 68 #define USEWIN32IOAPI
@@ -226,7 +227,7 @@ static int isLargeFile(const char* filename) {
226 FSEEKO_FUNC(pFile, 0, SEEK_END); 227 FSEEKO_FUNC(pFile, 0, SEEK_END);
227 pos = (ZPOS64_T)FTELLO_FUNC(pFile); 228 pos = (ZPOS64_T)FTELLO_FUNC(pFile);
228 229
229 printf("File : %s is %llu bytes\n", filename, pos); 230 printf("File : %s is %"PUI64" bytes\n", filename, pos);
230 231
231 if(pos >= 0xffffffff) 232 if(pos >= 0xffffffff)
232 largeFile = 1; 233 largeFile = 1;