mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Enclose macro argument in parentheses
This commit is contained in:
parent
ef7b4e5c28
commit
812832e4e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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));\
|
||||
|
|
|
|||
Loading…
Reference in a new issue