Commit 5c7f954d authored by Kevin Grittner's avatar Kevin Grittner

Fix warning for 64-bit literal on 32-bit build.

parent b8b2e3b2
...@@ -708,7 +708,7 @@ FindEndOfXLOG(void) ...@@ -708,7 +708,7 @@ FindEndOfXLOG(void)
* old pg_control. Note that for the moment we are working with segment * old pg_control. Note that for the moment we are working with segment
* numbering according to the old xlog seg size. * 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; newXlogSegNo = ControlFile.checkPointCopy.redo / ControlFile.xlog_seg_size;
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment