Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue