aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
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