projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab9d1c
)
Use LL suffix for 64-bit constants.
author
Heikki Linnakangas
Sun, 24 Jun 2012 17:00:42 +0000
(20:00 +0300)
committer
Heikki Linnakangas
Sun, 24 Jun 2012 17:01:55 +0000
(20:01 +0300)
Per warning from buildfarm member 'locust'. At least I think this what's
making it upset.
src/include/access/xlog_internal.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/access/xlog_internal.h
b/src/include/access/xlog_internal.h
index 4ad4d136999da1151abdf632adfcfc075f3b5091..22d2c644e7294e060a0e2ba4a5eb85bd8e1b6bb6 100644
(file)
--- 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 (0x100000000L
L
/ XLOG_SEG_SIZE)
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
(dest) = (segno) * XLOG_SEG_SIZE + (offset)