diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c
index aef21898fb88f67af2ee00e21650614ca303a706..78b884c20ede0d9b94c77e35642e09a9b6167085 100644
--- a/contrib/pg_xlogdump/pg_xlogdump.c
+++ b/contrib/pg_xlogdump/pg_xlogdump.c
@@ -44,7 +44,7 @@ typedef struct XLogDumpConfig
 	/* filter options */
 	int			filter_by_rmgr;
 	TransactionId filter_by_xid;
-	TransactionId filter_by_xid_enabled;
+	bool		filter_by_xid_enabled;
 } XLogDumpConfig;
 
 static void