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.h | |
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.h')
-rw-r--r-- | usr.bin/make/buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h index 3f948ed..3b7e1c3 100644 --- a/usr.bin/make/buf.h +++ b/usr.bin/make/buf.h @@ -62,7 +62,7 @@ typedef struct Buffer { /* Buf_AddByte adds a single byte to a buffer. */ #define Buf_AddByte(bp, byte) \ - (void)(--(bp)->left <= 0 ? Buf_OvAddByte(bp, byte), 1 : \ + (void)(--(bp)->left <= 0 ? Buf_OvAddByte((bp), (byte)), 1 : \ (*(bp)->inPtr++ = (byte), *(bp)->inPtr = 0), 1) #define BUF_ERROR 256 |