From 0d15afc875f44bcb0adc244c4d9034023f99b609 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 29 Mar 2023 08:25:12 +0200 Subject: Simplify useless 0L constants In ancient times, these belonged to arguments or fields that were actually of type long, but now they are not anymore, so this "L" decoration is just confusing. (Some other 0L and other "L" constants remain, where they are actually associated with a long type.) --- src/backend/access/transam/xlogarchive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access/transam/xlogarchive.c') diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c index fcc87ff44fd..a0f5aa24b58 100644 --- a/src/backend/access/transam/xlogarchive.c +++ b/src/backend/access/transam/xlogarchive.c @@ -148,7 +148,7 @@ RestoreArchivedFile(char *path, const char *xlogfname, Assert(strcmp(lastRestartPointFname, xlogfname) <= 0); } else - XLogFileName(lastRestartPointFname, 0, 0L, wal_segment_size); + XLogFileName(lastRestartPointFname, 0, 0, wal_segment_size); /* Build the restore command to execute */ xlogRestoreCmd = BuildRestoreCommand(recoveryRestoreCommand, -- cgit v1.2.3