summaryrefslogtreecommitdiffstats
path: root/src/kernel/cpumgr.C
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-08-19 12:08:01 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-08-19 12:08:01 -0500
commit6dbab3072e8f50e25137fa53c7ffce0d111c2338 (patch)
treee28281185d0c4359e435bf0fbc2c4bd41b19c6b7 /src/kernel/cpumgr.C
parentfad284f4af86149a8bc78c61bb99f1a1e30e7b68 (diff)
downloadtalos-hostboot-6dbab3072e8f50e25137fa53c7ffce0d111c2338.tar.gz
talos-hostboot-6dbab3072e8f50e25137fa53c7ffce0d111c2338.zip
Enable -Wall and fix warnings.
Diffstat (limited to 'src/kernel/cpumgr.C')
-rw-r--r--src/kernel/cpumgr.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/cpumgr.C b/src/kernel/cpumgr.C
index 58fabdd8c..bfb6b5af9 100644
--- a/src/kernel/cpumgr.C
+++ b/src/kernel/cpumgr.C
@@ -41,7 +41,7 @@ void CpuManager::startCPU(ssize_t i)
i = getCpuId();
currentCPU = true;
}
- else if (getCpuId() == i)
+ else if (getCpuId() == (uint64_t)i)
{
currentCPU = true;
}
OpenPOWER on IntegriCloud