Commit 2c4395ed authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix warnings in process-list.cpp (warnings)

parent 408197f6
......@@ -141,8 +141,8 @@ void System::readProcStat() {
if (!init_) {
/// The number of CPU has been detected by going through /proc/stat.
vCPUData_.resize(cpuNb_ + 1);
for (int i = 0; i < (int)cpuNb_; i++)
vCPUData_[i].cpu_id_ = i;
for (unsigned long i = 0; i < (unsigned long )cpuNb_; i++)
vCPUData_[i].cpu_id_ = (int)i;
}
aif.close();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment