You've already forked pg_probackup
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:
2
backup.c
2
backup.c
@@ -1137,7 +1137,7 @@ get_lsn(PGresult *res, TimeLineID *timeline, XLogRecPtr *lsn)
|
|||||||
xrecoff += off_upper << 24;
|
xrecoff += off_upper << 24;
|
||||||
|
|
||||||
/* Set LSN correctly */
|
/* Set LSN correctly */
|
||||||
*lsn = (XLogRecPtr) (xlogid << 32) | xrecoff;
|
*lsn = (XLogRecPtr) ((uint64) xlogid << 32) | xrecoff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user