summaryrefslogtreecommitdiff
path: root/src/backend/replication/slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/replication/slot.c')
-rw-r--r--src/backend/replication/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index afbaf8c80d..271af08572 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -1422,7 +1422,7 @@ RestoreSlotFromDisk(const char *name)
ereport(PANIC,
(errmsg("could not read file \"%s\": read %d of %zu",
path, readBytes,
- ReplicationSlotOnDiskConstantSize)));
+ (Size) ReplicationSlotOnDiskConstantSize)));
}
/* verify magic */