diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-12 08:20:45 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-12 08:20:45 (GMT) |
commit | 505c18d593b11fa682694a7653b17b325c1aac0e (patch) | |
tree | c3ba5e24ad98f73282a71b040e1a98de2b50b2d6 /generic/tclClock.c | |
parent | 403569ef177348b14d7bfb85c2a488ecaf0a2117 (diff) | |
download | tcl-505c18d593b11fa682694a7653b17b325c1aac0e.zip tcl-505c18d593b11fa682694a7653b17b325c1aac0e.tar.gz tcl-505c18d593b11fa682694a7653b17b325c1aac0e.tar.bz2 |
Code cleanup (use {} in if/else statemenets)
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r-- | generic/tclClock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c index ca1df44..13a5c65 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -1520,9 +1520,9 @@ GetJulianDayFromEraYearMonthDay( * Have to make sure quotient is truncated towards 0 when negative. * See above bug for details. The casts are necessary. */ - if (ym1 >= 0) + if (ym1 >= 0) { ym1o4 = ym1 / 4; - else { + } else { ym1o4 = - (int) (((unsigned int) -ym1) / 4); } #endif |