aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/pg_checksums/pg_checksums.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_checksums/pg_checksums.c b/src/bin/pg_checksums/pg_checksums.c
index e833c5d75e7..ca337c9014e 100644
--- a/src/bin/pg_checksums/pg_checksums.c
+++ b/src/bin/pg_checksums/pg_checksums.c
@@ -192,7 +192,7 @@ skipfile(const char *fn)
}
static void
-scan_file(const char *fn, BlockNumber segmentno)
+scan_file(const char *fn, int segmentno)
{
PGAlignedBlock buf;
PageHeader header = (PageHeader) buf.data;
@@ -370,7 +370,7 @@ scan_directory(const char *basedir, const char *subdir, bool sizeonly)
char fnonly[MAXPGPATH];
char *forkpath,
*segmentpath;
- BlockNumber segmentno = 0;
+ int segmentno = 0;
if (skipfile(de->d_name))
continue;