]> git.eshelyaron.com Git - emacs.git/commitdiff
(print_preprocess): Declare size as EMACS_INT to not lose bits.
authorAndreas Schwab <schwab@suse.de>
Mon, 26 Jan 2004 11:53:59 +0000 (11:53 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 26 Jan 2004 11:53:59 +0000 (11:53 +0000)
(print_object): Likewise.

src/print.c

index 597345c129cc6d115989f4cca2101fb7f40cbfdd..89690fe53993e35440aad092f6065feeb5b9e652 100644 (file)
@@ -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 ('#');