Enclose macro argument in parentheses

This commit is contained in:
Christian Göttsche 2021-03-02 22:00:44 +01:00
parent 979aca98cc
commit 13b28fa9ed

View File

@ -1546,7 +1546,7 @@ static inline void LinuxProcessList_scanMemoryInfo(ProcessList* this) {
if (String_startsWith(buffer, label)) { \
memory_t parsed_; \
if (sscanf(buffer + strlen(label), "%llu kB", &parsed_) == 1) { \
variable = parsed_; \
(variable) = parsed_; \
} \
break; \
}