summaryrefslogtreecommitdiffstats
path: root/thirdparty/zlib/gzguts.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-24 11:32:38 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-24 11:32:38 +0100
commit8ead8d2ddb4bef0f667e208b7f4532a75ba494f7 (patch)
tree43025216b62ce5d84f437f15aec758de4ca60ed5 /thirdparty/zlib/gzguts.h
parent74c32faa78b54863f8f25c538083907c2bf71791 (diff)
downloadredot-engine-8ead8d2ddb4bef0f667e208b7f4532a75ba494f7.tar.gz
zlib/minizip: Update to version 1.3.1
Minizip includes previously backported fix for CVE-2023-45853, and a Debian patch for CVE-2014-9485 was also upstreamed.
Diffstat (limited to 'thirdparty/zlib/gzguts.h')
-rw-r--r--thirdparty/zlib/gzguts.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/thirdparty/zlib/gzguts.h b/thirdparty/zlib/gzguts.h
index f9375047e8..eba72085bb 100644
--- a/thirdparty/zlib/gzguts.h
+++ b/thirdparty/zlib/gzguts.h
@@ -1,5 +1,5 @@
/* gzguts.h -- zlib internal header definitions for gz* operations
- * Copyright (C) 2004-2019 Mark Adler
+ * Copyright (C) 2004-2024 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -210,9 +210,5 @@ char ZLIB_INTERNAL *gz_strwinerror(DWORD error);
/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t
value -- needed when comparing unsigned to z_off64_t, which is signed
(possible z_off64_t types off_t, off64_t, and long are all signed) */
-#ifdef INT_MAX
-# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
-#else
unsigned ZLIB_INTERNAL gz_intmax(void);
-# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
-#endif
+#define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())