Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ec2e90

Browse files
committed
Fix bool/int type confusion
Using ++ on a bool variable doesn't work well when stdbool.h is in use.The original BSD code appears to use int here, so use that instead.Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
1 parent42651bd commit0ec2e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/timezone/localtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ timesub(const pg_time_t *timep, int32 offset,
13791379
inty;
13801380
constint*ip;
13811381
int64corr;
1382-
boolhit;
1382+
inthit;
13831383
inti;
13841384

13851385
corr=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp