Change format identifier %lu in pgut.c file.
This commit is contained in:
parent
b9219be7d8
commit
e8d6b6b97f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user