aboutsummaryrefslogtreecommitdiff
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
zlib-735eaa1ebd5ae99b10c5824f7c9277d972693e2a.tar.bz2
zlib-735eaa1ebd5ae99b10c5824f7c9277d972693e2a.zip
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;
44 44
45#if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC) 45#if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC)
46# include <limits.h> 46# include <limits.h>
47# if (ULONG_MAX == 0xffffffffffffffffULL) 47# if (ULONG_MAX == 0xffffffffffffffff)
48# define Z_U8 unsigned long 48# define Z_U8 unsigned long
49# elif (ULLONG_MAX == 0xffffffffffffffffULL) 49# elif (ULLONG_MAX == 0xffffffffffffffff)
50# define Z_U8 unsigned long long 50# define Z_U8 unsigned long long
51# elif (UINT_MAX == 0xffffffffffffffffULL) 51# elif (UINT_MAX == 0xffffffffffffffff)
52# define Z_U8 unsigned 52# define Z_U8 unsigned
53# endif 53# endif
54#endif 54#endif