Change format identifier %lu in pgut.c file.

This commit is contained in:
Masahiko Sawada 2017-02-21 12:23:18 +00:00
parent b9219be7d8
commit e8d6b6b97f

View File

@ -1307,7 +1307,7 @@ pgut_malloc(size_t size)
if ((ret = malloc(size)) == NULL) if ((ret = malloc(size)) == NULL)
ereport(FATAL, ereport(FATAL,
(errcode_errno(), (errcode_errno(),
errmsg("could not allocate memory (%lu bytes): ", errmsg("could not allocate memory (" UINT64_FORMAT " bytes): ",
(unsigned long) size))); (unsigned long) size)));
return ret; return ret;
} }
@ -1320,7 +1320,7 @@ pgut_realloc(void *p, size_t size)
if ((ret = realloc(p, size)) == NULL) if ((ret = realloc(p, size)) == NULL)
ereport(FATAL, ereport(FATAL,
(errcode_errno(), (errcode_errno(),
errmsg("could not re-allocate memory (%lu bytes): ", errmsg("could not re-allocate memory (" UINT64_FORMAT " bytes): ",
(unsigned long) size))); (unsigned long) size)));
return ret; return ret;
} }