mirror of https://github.com/xzeldon/htop.git
Fix process state handling compiler warning on PCP platform
This commit is contained in:
parent
d8dfbbd37c
commit
e64269df2c
|
@ -142,7 +142,7 @@ static inline char Metric_instance_char(int metric, int pid, int offset, char fa
|
|||
return fallback;
|
||||
}
|
||||
|
||||
static inline PCPProcessList_getProcessState(char state) {
|
||||
static inline ProcessState PCPProcessList_getProcessState(char state) {
|
||||
switch (state) {
|
||||
case '?': return UNKNOWN;
|
||||
case 'R': return RUNNING;
|
||||
|
|
Loading…
Reference in New Issue