From 18cc02238bbd15bfa9827ef86078aa172bdae52b Mon Sep 17 00:00:00 2001 From: David Steele Date: Mon, 17 May 2021 07:15:13 -0400 Subject: [PATCH] Remove overzealous cast. There does not seem to be a good reason to have an explicit cast for such a small number, so remove it. Leave PG_CONTROL_SIZE alone since it will be removed in an upcoming commit. --- src/postgres/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postgres/interface.c b/src/postgres/interface.c index 7dac52b82..4cf6a4395 100644 --- a/src/postgres/interface.c +++ b/src/postgres/interface.c @@ -47,7 +47,7 @@ Control file size. The control file is actually 8192 bytes but only the first 5 really old storage with 512-byte sectors. This is true across all versions of PostgreSQL. ***********************************************************************************************************************************/ #define PG_CONTROL_SIZE ((unsigned int)(8 * 1024)) -#define PG_CONTROL_DATA_SIZE ((unsigned int)(512)) +#define PG_CONTROL_DATA_SIZE 512 /*********************************************************************************************************************************** PostgreSQL interface definitions