(getlandp, getloanp, getnatp, getnewsp, getnukep, getplanep)
(getpowerp, getshipp, gettradep, gettrep): Fix insufficiently parenthesized macro expansion.
This commit is contained in:
parent
eae63fb950
commit
dccc0d1349
10 changed files with 10 additions and 10 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue