diff options
-rw-r--r-- | usr.bin/less/ch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/ch.c b/usr.bin/less/ch.c index a4df21ab217..86500972b4d 100644 --- a/usr.bin/less/ch.c +++ b/usr.bin/less/ch.c @@ -81,7 +81,7 @@ struct filestate { * Macros to manipulate the list of buffers in thisfile->buflist. */ #define FOR_BUFS(bn) \ - for (bn = ch_bufhead; bn != END_OF_CHAIN; bn = bn->next) + for ((bn) = ch_bufhead; (bn) != END_OF_CHAIN; (bn) = (bn)->next) #define BUF_RM(bn) \ (bn)->next->prev = (bn)->prev; \ |