Skip to content

Commit 0687a26

Browse files
committed
Use UINT64CONST for 64-bit integer constants.
Peter Eisentraut advised me that UINT64CONST is the proper way to do that, not LL suffix.
1 parent a218e23 commit 0687a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
110110
* by XLOG_SEG_SIZE.
111111
*/
112112
#define XLogSegSize ((uint32) XLOG_SEG_SIZE)
113-
#define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE)
113+
#define XLogSegmentsPerXLogId (UINT64CONST(0x100000000) / XLOG_SEG_SIZE)
114114

115115
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
116116
(dest) = (segno) * XLOG_SEG_SIZE + (offset)

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