Fix insufficiently parenthesized macro expansions.

This commit is contained in:
Markus Armbruster 2006-04-30 16:08:45 +00:00
parent cee8e126a2
commit a292d6f98a
16 changed files with 43 additions and 80 deletions

View file

@ -56,7 +56,7 @@
static int owned_and_navigable(char *, int, int, int);
#define MAXROUTE 100
#define valid(x,y) (((x^y)&1)==0)
#define valid(x,y) ((((x) ^ (y)) & 1) == 0)
static char *dirchar = "juygbn";
int dx[6] = { 2, 1, -1, -2, -1, 1 };