diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h
index e8fc342d1a..fe62162cde 100644
--- a/src/include/replication/slot.h
+++ b/src/include/replication/slot.h
@@ -134,7 +134,7 @@ typedef struct ReplicationSlotPersistentData
 	/*
 	 * Was this slot synchronized from the primary server?
 	 */
-	char		synced;
+	bool		synced;
 
 	/*
 	 * Is this a failover slot (sync candidate for standbys)? Only relevant
