We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a218e23 commit 0687a26Copy full SHA for 0687a26
src/include/access/xlog_internal.h
@@ -110,7 +110,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
110
* by XLOG_SEG_SIZE.
111
*/
112
#define XLogSegSize ((uint32) XLOG_SEG_SIZE)
113
-#define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE)
+#define XLogSegmentsPerXLogId (UINT64CONST(0x100000000) / XLOG_SEG_SIZE)
114
115
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
116
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
0 commit comments