aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-02 01:35:28 -0700
committerPaul Eggert2011-06-02 01:35:28 -0700
commit7f5efba80e3643683eb050205054b7896342aa2d (patch)
tree28b406705f042664d0f3832416e4a0c08ad351a2 /src/alloc.c
parent275a5dd65098a2d6fcc14c21f805fc8d5e4479ee (diff)
downloademacs-7f5efba80e3643683eb050205054b7896342aa2d.tar.gz
emacs-7f5efba80e3643683eb050205054b7896342aa2d.zip
* alloc.c (allocate_vectorlike): Adjust to memory_full API change.
Diffstat (limited to 'src/alloc.c')
-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)
2793 int word_size = sizeof p->contents[0]; 2793 int word_size = sizeof p->contents[0];
2794 2794
2795 if ((SIZE_MAX - header_size) / word_size < len) 2795 if ((SIZE_MAX - header_size) / word_size < len)
2796 memory_full (); 2796 memory_full (SIZE_MAX);
2797 2797
2798 MALLOC_BLOCK_INPUT; 2798 MALLOC_BLOCK_INPUT;
2799 2799