Commit 41b867ea authored by Andreas Schwab's avatar Andreas Schwab

(Fpurecopy): Declare size as EMACS_INT to not lose bits.

parent 3164abe6
2004-01-26 Andreas Schwab <schwab@suse.de>
* print.c (print_preprocess): Declare size as EMACS_INT to not
lose bits.
(print_object): Likewise.
* alloc.c (Fpurecopy): Likewise.
2004-01-25 Luc Teirlinck <teirllm@auburn.edu>
* window.c (Fwindow_minibuffer_p): Doc fix.
......
......@@ -4230,12 +4230,13 @@ Does not copy symbols. Copies strings without text properties. */)
else if (COMPILEDP (obj) || VECTORP (obj))
{
register struct Lisp_Vector *vec;
register int i, size;
register int i;
EMACS_INT size;
size = XVECTOR (obj)->size;
if (size & PSEUDOVECTOR_FLAG)
size &= PSEUDOVECTOR_SIZE_MASK;
vec = XVECTOR (make_pure_vector ((EMACS_INT) size));
vec = XVECTOR (make_pure_vector (size));
for (i = 0; i < size; i++)
vec->contents[i] = Fpurecopy (XVECTOR (obj)->contents[i]);
if (COMPILEDP (obj))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment