diff --git a/distrib/crunch/crunchide/exec_aout.c b/distrib/crunch/crunchide/exec_aout.c index 6472c8be9ff7..07eec1638965 100644 --- a/distrib/crunch/crunchide/exec_aout.c +++ b/distrib/crunch/crunchide/exec_aout.c @@ -45,7 +45,7 @@ struct relocation_info *textrel, *datarel; struct nlist *symbase; -#define SYMSTR(sp) &strbase[(sp)->n_un.n_strx] +#define SYMSTR(sp) (&strbase[(sp)->n_un.n_strx]) /* is the symbol a global symbol defined in the current file? */ #define IS_GLOBAL_DEFINED(sp) \ diff --git a/usr.bin/crunch/crunchide/exec_aout.c b/usr.bin/crunch/crunchide/exec_aout.c index 6472c8be9ff7..07eec1638965 100644 --- a/usr.bin/crunch/crunchide/exec_aout.c +++ b/usr.bin/crunch/crunchide/exec_aout.c @@ -45,7 +45,7 @@ struct relocation_info *textrel, *datarel; struct nlist *symbase; -#define SYMSTR(sp) &strbase[(sp)->n_un.n_strx] +#define SYMSTR(sp) (&strbase[(sp)->n_un.n_strx]) /* is the symbol a global symbol defined in the current file? */ #define IS_GLOBAL_DEFINED(sp) \