From 3164abe6d1794bdeeb6465c008755abb0bfd8ebe Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 26 Jan 2004 11:53:59 +0000 Subject: [PATCH] (print_preprocess): Declare size as EMACS_INT to not lose bits. (print_object): Likewise. --- src/print.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/print.c b/src/print.c index 597345c129c..89690fe5399 100644 --- a/src/print.c +++ b/src/print.c @@ -1276,7 +1276,8 @@ static void print_preprocess (obj) Lisp_Object obj; { - int i, size; + int i; + EMACS_INT size; loop: if (STRINGP (obj) || CONSP (obj) || VECTORP (obj) @@ -1891,7 +1892,7 @@ print_object (obj, printcharfun, escapeflag) } else { - int size = XVECTOR (obj)->size; + EMACS_INT size = XVECTOR (obj)->size; if (COMPILEDP (obj)) { PRINTCHAR ('#'); -- 2.39.2