Drop redundant casts to the same type

This commit is contained in:
Christian Göttsche
2020-09-28 12:17:52 +02:00
committed by cgzones
parent 214c742ae1
commit 843949131a
9 changed files with 12 additions and 12 deletions

View File

@ -232,7 +232,7 @@ static inline unsigned long long LinuxProcess_adjustTime(unsigned long long t) {
jiffy = sc_jiffy;
}
double jiffytime = 1.0 / jiffy;
return (unsigned long long) t * jiffytime * 100;
return t * jiffytime * 100;
}
static bool LinuxProcessList_readStatFile(Process *process, const char* dirname, const char* name, char* command, int* commLen) {