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

Commit5c7f954

Browse files
committed
Fix warning for 64-bit literal on 32-bit build.
1 parentb8b2e3b commit5c7f954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_resetxlog/pg_resetxlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ FindEndOfXLOG(void)
708708
* old pg_control.Note that for the moment we are working with segment
709709
* numbering according to the old xlog seg size.
710710
*/
711-
segs_per_xlogid= (0x100000000L /ControlFile.xlog_seg_size);
711+
segs_per_xlogid= (UINT64CONST(0x0000000100000000) /ControlFile.xlog_seg_size);
712712
newXlogSegNo=ControlFile.checkPointCopy.redo /ControlFile.xlog_seg_size;
713713

714714
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp