From 40eb0c491503308095cfadcb918205f8cbd6c91f Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 9 Apr 2024 12:05:08 +0000 Subject: TCL_MIN_SECONDS/TCL_MAX_SECONDS should use 'LL', because the constants are > LONG_MAX on 32-bit platforms --- generic/tclDate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclDate.h b/generic/tclDate.h index cdef706..60aca7b 100644 --- a/generic/tclDate.h +++ b/generic/tclDate.h @@ -64,8 +64,8 @@ CLF_MONTH | CLF_YEAR | CLF_ISO8601YEAR | \ CLF_DAYOFWEEK | CLF_ISO8601WEAK) -#define TCL_MIN_SECONDS -0x00F0000000000000L -#define TCL_MAX_SECONDS 0x00F0000000000000L +#define TCL_MIN_SECONDS -0x00F0000000000000LL +#define TCL_MAX_SECONDS 0x00F0000000000000LL #define TCL_INV_SECONDS (TCL_MIN_SECONDS-1) /* -- cgit v0.12