diff options
author | Ruiyu Ni <Ruiyu.ni@Intel.com> | 2013-08-19 04:15:26 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-08-19 04:15:26 +0000 |
commit | f91d18df575c05d5df24520e05debe0f0bb37084 (patch) | |
tree | 322a0f85899f8185b9b1f74d85d4915b5270b238 /OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | |
parent | dfd3119ab2e28b60b33b65b49249124994ffce63 (diff) | |
download | edk2-platforms-f91d18df575c05d5df24520e05debe0f0bb37084.tar.xz |
OvmfPkg ResetSystemLib: Fix VS build error
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <Ruiyu.ni@Intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14557 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c')
-rw-r--r-- | OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 391d053347..6d149e84c2 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -27,7 +27,7 @@ AcpiPmControl ( {
ASSERT (SuspendType < 6);
- IoBitFieldWrite16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, 10, 13, SuspendType);
+ IoBitFieldWrite16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, 10, 13, (UINT16) SuspendType);
IoOr16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, BIT13);
CpuDeadLoop ();
}
|