]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 32-bit warnings again
authorPo Lu <luangruo@yahoo.com>
Thu, 26 May 2022 00:11:36 +0000 (08:11 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 26 May 2022 00:11:36 +0000 (08:11 +0800)
* src/print.c (struct print_stack_entry): Make
u.list.tortoise_idx intmax_t.

src/print.c

index 9968c2aef8fb29222e165871f2b2fc75e8e784f3..a82461653f966328d1cd068f373b640e58d9633d 100644 (file)
@@ -2040,7 +2040,7 @@ struct print_stack_entry
       Lisp_Object tortoise;     /* slow pointer */
       ptrdiff_t n;             /* tortoise step countdown */
       ptrdiff_t m;             /* tortoise step period */
-      ptrdiff_t tortoise_idx;  /* index of tortoise */
+      intmax_t tortoise_idx;   /* index of tortoise */
     } list;
 
     struct