summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index a3c9ec40f05..a2b5d9d889b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2341,6 +2341,7 @@ LENGTH must be a number. INIT matters only in whether it is t or nil. */)
/* Get rid of any bits that would cause confusion. */
XVECTOR (val)->size = 0; /* No Lisp_Object to trace in there. */
+ /* Use XVECTOR (val) rather than `p' because p->size is not TRT. */
XSETPVECTYPE (XVECTOR (val), PVEC_BOOL_VECTOR);
p = XBOOL_VECTOR (val);