Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0687a26

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 parenta218e23 commit0687a26

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
#defineXLogSegSize((uint32) XLOG_SEG_SIZE)
113-
#defineXLogSegmentsPerXLogId(0x100000000LL / XLOG_SEG_SIZE)
113+
#defineXLogSegmentsPerXLogId(UINT64CONST(0x100000000) / XLOG_SEG_SIZE)
114114

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp