summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessList.h b/ProcessList.h
index ea8f71d0..c7bc5aca 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -57,7 +57,7 @@ in the source distribution for its full text.
#endif
#ifndef ProcessList_cpuId
-#define ProcessList_cpuId(pl, cpu) ((pl)->countCPUsFromZero ? (cpu)-1 : (cpu))
+#define ProcessList_cpuId(pl, cpu) ((pl)->countCPUsFromZero ? (cpu) : (cpu)+1)
#endif