summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 4449dd989de..0c18fca1755 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2793,7 +2793,7 @@ allocate_vectorlike (EMACS_INT len)
int word_size = sizeof p->contents[0];
if ((SIZE_MAX - header_size) / word_size < len)
- memory_full ();
+ memory_full (SIZE_MAX);
MALLOC_BLOCK_INPUT;