aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/troff/t10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff/t10.c b/src/cmd/troff/t10.c
index 0022cc79..38090eac 100644
--- a/src/cmd/troff/t10.c
+++ b/src/cmd/troff/t10.c
@@ -301,7 +301,7 @@ int ptout0(Tchar *pi)
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) {