]> granicus.if.org Git - postgresql/commitdiff
Revert "Fix bool/int type confusion"
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Sep 2017 23:32:19 +0000 (19:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Sep 2017 04:04:29 +0000 (00:04 -0400)
This reverts commit 0ec2e908babfbfde83a3925680f06b16408739ff.
We'll use the upstream (IANA) fix instead.

src/timezone/localtime.c

index 82c18e85446bc2ae1839f269d92d937cbdb9399a..08642d12363abe6a96c1dbd2c061b16694708c0c 100644 (file)
@@ -1379,7 +1379,7 @@ timesub(const pg_time_t *timep, int32 offset,
        int                     y;
        const int  *ip;
        int64           corr;
-       int                     hit;
+       bool            hit;
        int                     i;
 
        corr = 0;