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