diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-27 01:08:52 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-27 01:08:52 +0000 |
commit | 4631644890d39cd29645190ba0783a859f2dc46f (patch) | |
tree | 0a6076c1bf6279a1ff8c9ced904269b22036bfac | |
parent | 4eb56285257b1a8609cef89c4f8f4887b7d9bef2 (diff) | |
download | edk2-platforms-4631644890d39cd29645190ba0783a859f2dc46f.tar.xz |
OvmfPkg ResetSystemLib: Fix build issue with VS2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11276 6f19259b-4bc3-4df7-8a09-765794883524
-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 d9de12e873..52406add24 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -25,7 +25,7 @@ AcpiPmControl ( {
ASSERT (SuspendType < 6);
- IoAndThenOr16 (0x404, ~0x3c00, SuspendType << 10);
+ IoAndThenOr16 (0x404, (UINT16) ~0x3c00, (UINT16) (SuspendType << 10));
IoOr16 (0x404, BIT13);
CpuDeadLoop ();
}
|