summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-02 01:35:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-02 01:35:28 -0700
commit7f5efba80e3643683eb050205054b7896342aa2d (patch)
tree28b406705f042664d0f3832416e4a0c08ad351a2
parent275a5dd65098a2d6fcc14c21f805fc8d5e4479ee (diff)
downloademacs-7f5efba80e3643683eb050205054b7896342aa2d.tar.gz
* alloc.c (allocate_vectorlike): Adjust to memory_full API change.
-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;