From 9e4dd00415e3d126a52236c00bc98cdc9bf17bf9 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 25 Sep 2017 02:37:29 +0100 Subject: [PATCH] Dropped compiler warning Probably only raised compiling on 32 bits platforms. --- bin/pgut/pgut.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/pgut/pgut.c b/bin/pgut/pgut.c index 3a3f5ef..14ee762 100644 --- a/bin/pgut/pgut.c +++ b/bin/pgut/pgut.c @@ -449,7 +449,7 @@ prompt_for_password(void) ereport(FATAL, (errcode_errno(), errmsg("could not allocate memory (" UINT64_FORMAT " bytes): ", - (unsigned long) BUFSIZE))); + (uint64) BUFSIZE))); return buf; @@ -1325,7 +1325,7 @@ pgut_malloc(size_t size) ereport(FATAL, (errcode_errno(), errmsg("could not allocate memory (" UINT64_FORMAT " bytes): ", - (unsigned long) size))); + (uint64) size))); return ret; } @@ -1338,7 +1338,7 @@ pgut_realloc(void *p, size_t size) ereport(FATAL, (errcode_errno(), errmsg("could not re-allocate memory (" UINT64_FORMAT " bytes): ", - (unsigned long) size))); + (uint64) size))); return ret; }