From 85f595382f8613dfa9fcdb3f6b4c3db4f50ffa8d Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 30 Dec 2005 17:43:57 +0000 Subject: more pointers --- src/cmd/grap/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/grap') diff --git a/src/cmd/grap/input.c b/src/cmd/grap/input.c index 5ff7ec56..d47cbd75 100644 --- a/src/cmd/grap/input.c +++ b/src/cmd/grap/input.c @@ -52,7 +52,7 @@ void popsrc(void) /* restore an old one */ if (srcp <= src) ERROR "too many inputs popped" FATAL; if (dbg) { - printf("%3ld ", (srcp - src)); + printf("%3ld ", (long)(srcp - src)); switch (srcp->type) { case File: printf("pop file\n"); -- cgit v1.2.3