summaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2022-03-27 00:28:42 -0700
committerMark Adler <madler@alumni.caltech.edu>2022-03-27 01:54:17 -0700
commit735eaa1ebd5ae99b10c5824f7c9277d972693e2a (patch)
tree285f6c0d38dc54edd6cfac4a1b9d1c66cbe6018c /zutil.h
parent76f70abbc73f8887ed42b12cf5c895b386595d59 (diff)
downloadzlib-735eaa1ebd5ae99b10c5824f7c9277d972693e2a.tar.gz
Eliminate use of ULL constants.
0xffffffffffffffffULL was causing warnings for C99 usage. The suffix for the constant is not necessary anyway, so this commit removes them.
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zutil.h b/zutil.h
index 14277bc..21f8e7a 100644
--- a/zutil.h
+++ b/zutil.h
@@ -44,11 +44,11 @@ typedef unsigned long ulg;
#if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC)
# include <limits.h>
-# if (ULONG_MAX == 0xffffffffffffffffULL)
+# if (ULONG_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned long
-# elif (ULLONG_MAX == 0xffffffffffffffffULL)
+# elif (ULLONG_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned long long
-# elif (UINT_MAX == 0xffffffffffffffffULL)
+# elif (UINT_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned
# endif
#endif