From 735eaa1ebd5ae99b10c5824f7c9277d972693e2a Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 27 Mar 2022 00:28:42 -0700 Subject: [PATCH] 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. --- zutil.h | 6 +++--- 1 file 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 -# 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 -- 2.44.0