From: Taylor R Campbell Date: Sun, 21 Mar 2010 19:29:07 +0000 (-0400) Subject: Use %td, not %d, to format ptrdiff_t values with printf. X-Git-Tag: 20100708-Gtk~80 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a819b5f55f3c2ddd9c1fb7e703888de813ebf7c8;p=mit-scheme.git Use %td, not %d, to format ptrdiff_t values with printf. --- 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)); }