summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-05 11:09:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-05 11:09:11 (GMT)
commit984ff0cfb4b0ad7c1e2575bb02542a2905cea389 (patch)
tree46a306cb51b8493f3abb6c3afd6886c52c80013f /generic
parent95a50eddf701fce24f23aae7b4c7af1b0336bb11 (diff)
downloadtcl-984ff0cfb4b0ad7c1e2575bb02542a2905cea389.zip
tcl-984ff0cfb4b0ad7c1e2575bb02542a2905cea389.tar.gz
tcl-984ff0cfb4b0ad7c1e2575bb02542a2905cea389.tar.bz2
re-generate tclDate.c
Diffstat (limited to 'generic')
-rw-r--r--generic/tclDate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index 7357a61..6ca14ea 100644
--- a/generic/tclDate.c
+++ b/generic/tclDate.c
@@ -121,9 +121,9 @@
#define TM_YEAR_BASE 1900
-#define HOUR(x) ((int) (60 * x))
+#define HOUR(x) ((int) (60 * (x)))
#define SECSPERDAY (24L * 60L * 60L)
-#define IsLeapYear(x) ((x % 4 == 0) && (x % 100 != 0 || x % 400 == 0))
+#define IsLeapYear(x) (((x) % 4 == 0) && ((x) % 100 != 0 || (x) % 400 == 0))
#define yyIncrFlags(f) \
do { \