stupid port bug. cannot use %ld to print a long as a *CHARACTER*
diff --git a/src/cmd/troff/t10.c b/src/cmd/troff/t10.c index 0022cc7..38090ea 100644 --- a/src/cmd/troff/t10.c +++ b/src/cmd/troff/t10.c
@@ -301,7 +301,7 @@ pi[1] = '~'; case DRAWSPLINE: /* spline */ default: /* something else; copy it like spline */ - OUT "D%ld %d %d", cbits(pi[1]), dx, dy PUT; + OUT "D%c %d %d", (char)cbits(pi[1]), dx, dy PUT; hpos += dx; vpos += dy; if (cbits(pi[3]) == DRAWFCN || cbits(pi[4]) == DRAWFCN) {