From 812832e4e1557db7022a42f7eda5ff587563b91b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 7 Apr 2020 21:47:06 +0200 Subject: [PATCH] Enclose macro argument in parentheses --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 42c1a3c..e1dcc6d 100644 --- a/src/util.c +++ b/src/util.c @@ -422,7 +422,7 @@ void addparentstats(struct dir *d, int64_t size, int64_t asize, uint64_t mtime, #define wrap_oom(f) \ void *ptr;\ char buf[128];\ - while((ptr = f) == NULL) {\ + while((ptr = (f)) == NULL) {\ close_nc();\ (void) !write(2, oom_msg, sizeof(oom_msg));\ (void) !read(0, buf, sizeof(buf));\