mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Fix warning for 64-bit literal on 32-bit build.
This commit is contained in:
parent
b8b2e3b2de
commit
5c7f954d31
@ -708,7 +708,7 @@ FindEndOfXLOG(void)
|
||||
* old pg_control. Note that for the moment we are working with segment
|
||||
* numbering according to the old xlog seg size.
|
||||
*/
|
||||
segs_per_xlogid = (0x100000000L / ControlFile.xlog_seg_size);
|
||||
segs_per_xlogid = (UINT64CONST(0x0000000100000000) / ControlFile.xlog_seg_size);
|
||||
newXlogSegNo = ControlFile.checkPointCopy.redo / ControlFile.xlog_seg_size;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user