changeset 53704:47b66024b855

(print_preprocess): Declare size as EMACS_INT to not lose bits. (print_object): Likewise.
author Andreas Schwab <schwab@suse.de>
date Mon, 26 Jan 2004 11:53:59 +0000
parents 7e4022bbad27
children db8cbe59ee5c
files src/print.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Jan 26 03:27:33 2004 +0000
+++ b/src/print.c	Mon Jan 26 11:53:59 2004 +0000
@@ -1276,7 +1276,8 @@
 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 @@
 	}
       else
 	{
-	  int size = XVECTOR (obj)->size;
+	  EMACS_INT size = XVECTOR (obj)->size;
 	  if (COMPILEDP (obj))
 	    {
 	      PRINTCHAR ('#');