From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/cmd/pic/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/pic') diff --git a/src/cmd/pic/misc.c b/src/cmd/pic/misc.c index 1ada1c1c..e888fafc 100644 --- a/src/cmd/pic/misc.c +++ b/src/cmd/pic/misc.c @@ -212,7 +212,7 @@ int whatpos(obj *p, int corner, double *px, double *py) /* what is the position x1 = y1 = 0.0; /* Botch? (gcc) */ - dprintf("whatpos %p %d %d\n", p, p->o_type, corner); + dprintf("whatpos %p %d %d\n", (void*)p, p->o_type, corner); x = p->o_x; y = p->o_y; if (p->o_type != PLACE && p->o_type != MOVE) { -- cgit v1.2.3