projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d6f913
)
Just cast to long; don't check whether %td will work for ptrdiff_t.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Oct 2013 21:14:04 +0000
(21:14 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sun, 6 Oct 2013 21:14:04 +0000
(21:14 +0000)
src/microcode/gcloop.c
patch
|
blob
|
history
diff --git
a/src/microcode/gcloop.c
b/src/microcode/gcloop.c
index 77177aad33387596a0895b90f5247d98258473c2..9d9ddd163f3874f864bf71941f9764060c82776b 100644
(file)
--- a/
src/microcode/gcloop.c
+++ b/
src/microcode/gcloop.c
@@
-1153,14
+1153,9
@@
check_newspace_sync (void)
{
if ((newspace_next - newspace_start)
!= (tospace_next - tospace_start))
- std_gc_death (
-#ifdef HAVE_STDC_99
- "mismatch between newspace and tospace ptrs: %td/%td",
-#else
- "mismatch between newspace and tospace ptrs: %ld/%ld",
-#endif
- (newspace_next - newspace_start),
- (tospace_next - tospace_start));
+ std_gc_death ("mismatch between newspace and tospace ptrs: %ld/%ld",
+ ((long) (newspace_next - newspace_start)),
+ ((long) (tospace_next - tospace_start)));
}
void