summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_expanded.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/array_expanded.c')
-rw-r--r--src/backend/utils/adt/array_expanded.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/array_expanded.c b/src/backend/utils/adt/array_expanded.c
index fc036d1eb30..23627114f57 100644
--- a/src/backend/utils/adt/array_expanded.c
+++ b/src/backend/utils/adt/array_expanded.c
@@ -271,8 +271,8 @@ EA_get_flat_size(ExpandedObjectHeader *eohptr)
if (!AllocSizeIsValid(nbytes))
ereport(ERROR,
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
- errmsg("array size exceeds the maximum allowed (%d)",
- (int) MaxAllocSize)));
+ errmsg("array size exceeds the maximum allowed (%zu)",
+ MaxAllocSize)));
}
if (dnulls)