Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5335228

Browse files
committed
Silence compiler warning, hopefully.
Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/[email protected]
1 parent b990cc3 commit 5335228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/timezone/zic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2398,7 +2398,7 @@ writezone(const char *const name, const char *const string, char version,
23982398
if (pass == 1 && !want_bloat())
23992399
{
24002400
utcnt = stdcnt = thisleapcnt = 0;
2401-
thistimecnt = -locut - hicut;
2401+
thistimecnt = -(locut + hicut);
24022402
thistypecnt = thischarcnt = 1;
24032403
thistimelim = thistimei;
24042404
}

0 commit comments

Comments
 (0)