From e8d6b6b97fdb09c8286733cf1ce1143a3d28535e Mon Sep 17 00:00:00 2001 From: Masahiko Sawada Date: Tue, 21 Feb 2017 12:23:18 +0000 Subject: [PATCH] Change format identifier %lu in pgut.c file. --- bin/pgut/pgut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pgut/pgut.c b/bin/pgut/pgut.c index 3261ac4..90ed8cb 100644 --- a/bin/pgut/pgut.c +++ b/bin/pgut/pgut.c @@ -1307,7 +1307,7 @@ pgut_malloc(size_t size) if ((ret = malloc(size)) == NULL) ereport(FATAL, (errcode_errno(), - errmsg("could not allocate memory (%lu bytes): ", + errmsg("could not allocate memory (" UINT64_FORMAT " bytes): ", (unsigned long) size))); return ret; } @@ -1320,7 +1320,7 @@ pgut_realloc(void *p, size_t size) if ((ret = realloc(p, size)) == NULL) ereport(FATAL, (errcode_errno(), - errmsg("could not re-allocate memory (%lu bytes): ", + errmsg("could not re-allocate memory (" UINT64_FORMAT " bytes): ", (unsigned long) size))); return ret; }