Skip to content

Commit 4d7bf53

Browse files
author
Michael Paquier
committed
Fix uint64 cast forgotten by latest commit
1 parent 1bc0f9b commit 4d7bf53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ get_lsn(PGresult *res, TimeLineID *timeline, XLogRecPtr *lsn)
11371137
xrecoff += off_upper << 24;
11381138

11391139
/* Set LSN correctly */
1140-
*lsn = (XLogRecPtr) (xlogid << 32) | xrecoff;
1140+
*lsn = (XLogRecPtr) ((uint64) xlogid << 32) | xrecoff;
11411141
}
11421142

11431143
/*

0 commit comments

Comments
 (0)