From a819b5f55f3c2ddd9c1fb7e703888de813ebf7c8 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sun, 21 Mar 2010 15:29:07 -0400 Subject: [PATCH] Use %td, not %d, to format ptrdiff_t values with printf. --- src/microcode/gcloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microcode/gcloop.c b/src/microcode/gcloop.c index 0ab54e044..0e7931cf5 100644 --- a/src/microcode/gcloop.c +++ b/src/microcode/gcloop.c @@ -928,7 +928,7 @@ check_newspace_sync (void) { if ((newspace_next - newspace_start) != (tospace_next - tospace_start)) - std_gc_death ("mismatch between newspace and tospace ptrs: %d/%d", + std_gc_death ("mismatch between newspace and tospace ptrs: %td/%td", (newspace_next - newspace_start), (tospace_next - tospace_start)); } -- 2.25.1