diff options
author | Jeff Fan <jeff.fan@intel.com> | 2014-11-24 04:57:40 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2014-11-24 04:57:40 +0000 |
commit | 7475d13829e8f2d063553987c0f9d822cc7a1e36 (patch) | |
tree | 0f7177d7b6ee57f4b16d19d9420aa1789e91ce31 | |
parent | 915a379b1c45d4e15f67e7ec5e6bb6ac6bbf0aa4 (diff) | |
download | edk2-7475d13829e8f2d063553987c0f9d822cc7a1e36.zip edk2-7475d13829e8f2d063553987c0f9d822cc7a1e36.tar.gz edk2-7475d13829e8f2d063553987c0f9d822cc7a1e36.tar.bz2 |
Add typecast to fix VS2005 build issue.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16419 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuMp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index 8290dd2..71b62be 100644 --- a/UefiCpuPkg/CpuDxe/CpuMp.c +++ b/UefiCpuPkg/CpuDxe/CpuMp.c @@ -178,7 +178,7 @@ TestCpuStatusFlag ( Ret = CpuData->Info.StatusFlag & Flags;
ReleaseMpSpinLock (CpuData);
- return (Ret != 0);
+ return (BOOLEAN) (Ret != 0);
}
/**
@@ -664,7 +664,7 @@ StartupAllAPs ( mMpSystemData.ProcedureArgument = ProcedureArgument;
mMpSystemData.WaitEvent = WaitEvent;
mMpSystemData.Timeout = TimeoutInMicroseconds;
- mMpSystemData.TimeoutActive = (TimeoutInMicroseconds != 0);
+ mMpSystemData.TimeoutActive = (BOOLEAN) (TimeoutInMicroseconds != 0);
mMpSystemData.FinishCount = 0;
mMpSystemData.StartCount = 0;
mMpSystemData.SingleThread = SingleThread;
@@ -887,7 +887,7 @@ StartupThisAP ( CpuData->Timeout = TimeoutInMicroseconds;
CpuData->WaitEvent = WaitEvent;
- CpuData->TimeoutActive = (TimeoutInMicroseconds != 0);
+ CpuData->TimeoutActive = (BOOLEAN) (TimeoutInMicroseconds != 0);
CpuData->Finished = Finished;
mStopCheckAllAPsStatus = FALSE;
|