diff options
author | harti <harti@FreeBSD.org> | 2004-12-03 12:02:14 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-03 12:02:14 +0000 |
commit | 2156fca38ee7004b1ed21d28dcdbdbb4e3f82048 (patch) | |
tree | bee604cbfa383ff600447e709fd86e62b28f5135 /usr.bin/make/buf.c | |
parent | 41fdfcd45f1625cf137b07e507748affb1adc408 (diff) | |
download | FreeBSD-src-2156fca38ee7004b1ed21d28dcdbdbb4e3f82048.zip FreeBSD-src-2156fca38ee7004b1ed21d28dcdbdbb4e3f82048.tar.gz |
Put macro arguments in paranthesis.
Submitted by: johan
Diffstat (limited to 'usr.bin/make/buf.c')
-rw-r--r-- | usr.bin/make/buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c index 190b2aa..b4bf449 100644 --- a/usr.bin/make/buf.c +++ b/usr.bin/make/buf.c @@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$"); * buffer in case it holds a string. */ #define BufExpand(bp, nb) do { \ - if (bp->left < (nb) + 1) { \ + if ((bp)->left < (nb) + 1) { \ int newSize = (bp)->size + max((nb) + 1, BUF_ADD_INC); \ Byte *newBuf = erealloc((bp)->buffer, newSize); \ \ |