mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
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)) { \
|
||||
memory_t parsed_; \
|
||||
if (sscanf(buffer + strlen(label), "%llu kB", &parsed_) == 1) { \
|
||||
variable = parsed_; \
|
||||
(variable) = parsed_; \
|
||||
} \
|
||||
break; \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user