1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-09-16 09:26:30 +02:00

Fix uint64 cast forgotten by latest commit

This commit is contained in:
Michael Paquier
2013-12-10 03:24:01 +09:00
parent 1bc0f9baff
commit 4d7bf5373c

View File

@@ -1137,7 +1137,7 @@ get_lsn(PGresult *res, TimeLineID *timeline, XLogRecPtr *lsn)
xrecoff += off_upper << 24;
/* Set LSN correctly */
*lsn = (XLogRecPtr) (xlogid << 32) | xrecoff;
*lsn = (XLogRecPtr) ((uint64) xlogid << 32) | xrecoff;
}
/*