From d0fdb6daaec286bd55dd92e998c11beceda189bd Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 2 Oct 2007 21:55:27 +0000 Subject: * 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. --- src/alloc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/alloc.c') 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); -- cgit v1.2.1