summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-10-02 21:55:27 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-10-02 21:55:27 +0000
commitd0fdb6daaec286bd55dd92e998c11beceda189bd (patch)
tree354d035730ec1bd27b3db9713b732e78e16cbe85 /src/alloc.c
parent878f97ffedc5b4fc785beac809c3d4392f531eca (diff)
downloademacs-d0fdb6daaec286bd55dd92e998c11beceda189bd.tar.gz
* window.h (struct window):
* window.c (struct save_window_data, struct saved_window): * termhooks.h (struct terminal): * process.h (struct Lisp_Process): * frame.h (struct frame): * buffer.h (struct buffer): * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): The size field of (pseudo)vectors is now unsigned. (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly.
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);