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

@ -47,8 +47,8 @@ struct loststr {
time_t lost_timestamp; /* When it was lost */
};
#define getlost(n, p) ef_read(EF_LOST, n, p)
#define putlost(n, p) ef_write(EF_LOST, n, p)
#define getlost(n, p) ef_read(EF_LOST, (n), (p))
#define putlost(n, p) ef_write(EF_LOST, (n), (p))
/* src/lib/subs/lostsub.c */
extern void makelost(char, natid, short, coord, coord);