1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

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.
This commit is contained in:
David Steele 2021-05-17 07:15:13 -04:00
parent 9235c62c6b
commit 18cc02238b

View File

@ -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