* alloc.c (allocate_vectorlike): Adjust to memory_full API change.
This commit is contained in:
parent
275a5dd650
commit
7f5efba80e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue