提交 0687a260 编写于 作者: H Heikki Linnakangas

Use UINT64CONST for 64-bit integer constants.

Peter Eisentraut advised me that UINT64CONST is the proper way to do that,
not LL suffix.
上级 a218e23a
......@@ -110,7 +110,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
* by XLOG_SEG_SIZE.
*/
#define XLogSegSize ((uint32) XLOG_SEG_SIZE)
#define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE)
#define XLogSegmentsPerXLogId (UINT64CONST(0x100000000) / XLOG_SEG_SIZE)
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册