summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-02-01 14:54:52 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-02-01 14:54:52 +0000
commit1e3ee5367888909132a53c1dfc51dcd7c456528f (patch)
treeb7511f35fbae11e6469216302c1bf45a37fb56c4 /MdePkg/Library
parentf9cea76b1510fcb475c786fa436b86136c03e309 (diff)
downloadedk2-1e3ee5367888909132a53c1dfc51dcd7c456528f.tar.gz
edk2-1e3ee5367888909132a53c1dfc51dcd7c456528f.tar.bz2
edk2-1e3ee5367888909132a53c1dfc51dcd7c456528f.zip
Fix the asserting error for SetJump().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4650 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BaseLib/SetJump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/SetJump.c b/MdePkg/Library/BaseLib/SetJump.c
index 7bd37fc135..f266af882f 100644
--- a/MdePkg/Library/BaseLib/SetJump.c
+++ b/MdePkg/Library/BaseLib/SetJump.c
@@ -39,5 +39,5 @@ InternalAssertJumpBuffer (
{
ASSERT (JumpBuffer != NULL);
- ASSERT (((UINTN)JumpBuffer & ((BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1) >> 8)) == 0);
+ ASSERT (((UINTN)JumpBuffer & (BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1)) == 0);
}