(getlandp, getloanp, getnatp, getnewsp, getnukep, getplanep)

(getpowerp, getshipp, gettradep, gettrep): Fix insufficiently
parenthesized macro expansion.
This commit is contained in:
Markus Armbruster 2007-01-20 19:16:09 +00:00
parent eae63fb950
commit dccc0d1349
10 changed files with 10 additions and 10 deletions

View file

@ -175,7 +175,7 @@ struct lchrstr {
#define getland(n, p) ef_read(EF_LAND, (n), (p))
#define putland(n, p) ef_write(EF_LAND, (n), (p))
#define getlandp(n) (struct lndstr *)ef_ptr(EF_LAND, (n))
#define getlandp(n) ((struct lndstr *)ef_ptr(EF_LAND, (n)))
extern struct lchrstr lchr[LND_TYPE_MAX + 2];