(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
|
@ -137,7 +137,7 @@ struct plist {
|
|||
|
||||
#define getplane(n, p) ef_read(EF_PLANE, (n), (p))
|
||||
#define putplane(n, p) ef_write(EF_PLANE, (n), (p))
|
||||
#define getplanep(n) (struct plnstr *)ef_ptr(EF_PLANE, (n))
|
||||
#define getplanep(n) ((struct plnstr *)ef_ptr(EF_PLANE, (n)))
|
||||
|
||||
extern struct plchrstr plchr[PLN_TYPE_MAX + 2];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue