mirror of https://github.com/xzeldon/htop.git
Enclose macro argument in parentheses
This commit is contained in:
parent
979aca98cc
commit
13b28fa9ed
|
@ -1546,7 +1546,7 @@ static inline void LinuxProcessList_scanMemoryInfo(ProcessList* this) {
|
||||||
if (String_startsWith(buffer, label)) { \
|
if (String_startsWith(buffer, label)) { \
|
||||||
memory_t parsed_; \
|
memory_t parsed_; \
|
||||||
if (sscanf(buffer + strlen(label), "%llu kB", &parsed_) == 1) { \
|
if (sscanf(buffer + strlen(label), "%llu kB", &parsed_) == 1) { \
|
||||||
variable = parsed_; \
|
(variable) = parsed_; \
|
||||||
} \
|
} \
|
||||||
break; \
|
break; \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue