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/20190719035347.GJ1859@paquier.xyz
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy