From 96ff85e2dd64e7987ee6d69f306e3b8f54cc72c0 Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Sun, 24 Jun 2012 20:00:42 +0300
Subject: [PATCH] Use LL suffix for 64-bit constants.

Per warning from buildfarm member 'locust'. At least I think this what's
making it upset.
---
 src/include/access/xlog_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index 4ad4d136999..22d2c644e72 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -110,7 +110,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
  * by XLOG_SEG_SIZE.
  */
 #define XLogSegSize		((uint32) XLOG_SEG_SIZE)
-#define XLogSegmentsPerXLogId	(0x100000000L / XLOG_SEG_SIZE)
+#define XLogSegmentsPerXLogId	(0x100000000LL / XLOG_SEG_SIZE)
 
 #define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
 		(dest) = (segno) * XLOG_SEG_SIZE + (offset)
-- 
GitLab