1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-01 00:25:06 +02:00

Correct cfgDefDataFind() to use UINTP instead of VOIDPP.

Also add the UINTP macro.

Contributed by Cynthia Shang.
This commit is contained in:
Cynthia Shang
2018-10-19 10:51:33 +02:00
committed by David Steele
parent 06d68eada0
commit 09a1ad2c10
3 changed files with 17 additions and 1 deletions

View File

@ -180,6 +180,11 @@ size_t strzToLog(const char *string, char *buffer, size_t bufferSize);
#define FUNCTION_DEBUG_UINT_FORMAT(value, buffer, bufferSize) \
cvtUIntToZ(value, buffer, bufferSize)
#define FUNCTION_DEBUG_UINTP_TYPE \
unsigned int *
#define FUNCTION_DEBUG_UINTP_FORMAT(value, buffer, bufferSize) \
ptrToLog(value, "unsigned int *", buffer, bufferSize)
#define FUNCTION_DEBUG_UINT16_TYPE \
uint16_t
#define FUNCTION_DEBUG_UINT16_FORMAT(value, buffer, bufferSize) \