diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2022-03-27 00:28:42 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2022-03-27 01:54:17 -0700 |
commit | 735eaa1ebd5ae99b10c5824f7c9277d972693e2a (patch) | |
tree | 285f6c0d38dc54edd6cfac4a1b9d1c66cbe6018c | |
parent | 76f70abbc73f8887ed42b12cf5c895b386595d59 (diff) | |
download | zlib-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.
-rw-r--r-- | zutil.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |