Skip to content

Commit 5c7f954

Browse files
committed
Fix warning for 64-bit literal on 32-bit build.
1 parent b8b2e3b commit 5c7f954

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy