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.
This commit is contained in:
Mark Adler 2022-03-27 00:28:42 -07:00
parent 76f70abbc7
commit 735eaa1ebd

View File

@ -44,11 +44,11 @@ typedef unsigned long ulg;
#if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC) #if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC)
# include <limits.h> # include <limits.h>
# if (ULONG_MAX == 0xffffffffffffffffULL) # if (ULONG_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned long # define Z_U8 unsigned long
# elif (ULLONG_MAX == 0xffffffffffffffffULL) # elif (ULLONG_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned long long # define Z_U8 unsigned long long
# elif (UINT_MAX == 0xffffffffffffffffULL) # elif (UINT_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned # define Z_U8 unsigned
# endif # endif
#endif #endif