summaryrefslogtreecommitdiffstats
path: root/eqn.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 10:36:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 10:36:58 +0000
commitcb7c07f33b511f1525975bfd609094b8930f2153 (patch)
tree793af2b20ee48b029007c7503353463257486b54 /eqn.c
parente7db227716e2bd97f12f74572c5041228caa8a3a (diff)
downloadmandoc-cb7c07f33b511f1525975bfd609094b8930f2153.tar.gz
Protect macro expansion.
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index 1db18ac3..52b76c45 100644
--- a/eqn.c
+++ b/eqn.c
@@ -45,7 +45,7 @@ struct eqnstr {
};
#define STRNEQ(p1, sz1, p2, sz2) \
- (sz1) == (sz2) && 0 == strncmp((p1), (p2), (sz1))
+ ((sz1) == (sz2) && 0 == strncmp((p1), (p2), (sz1)))
#define EQNSTREQ(x, p, sz) \
STRNEQ((x)->name, (x)->sz, (p), (sz))