From: Mark Adler Date: Sun, 27 Mar 2022 07:28:42 +0000 (-0700) Subject: Eliminate use of ULL constants. X-Git-Tag: v1.2.12~5 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=735eaa1ebd5ae99b10c5824f7c9277d972693e2a;p=zlib.git 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. --- 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 -# 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