From 2ea81b29dd9a4e2c3281af1415532ee273c920c0 Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 23 Jan 1997 19:13:56 +0000 Subject: [PATCH] parens around macro value. (oops!) --- distrib/crunch/crunchide/exec_aout.c | 2 +- usr.bin/crunch/crunchide/exec_aout.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) \