From f91d18df575c05d5df24520e05debe0f0bb37084 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 19 Aug 2013 04:15:26 +0000 Subject: [PATCH] OvmfPkg ResetSystemLib: Fix VS build error Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14557 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); }