From 1e3ee5367888909132a53c1dfc51dcd7c456528f Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 1 Feb 2008 14:54:52 +0000 Subject: Fix the asserting error for SetJump(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4650 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/SetJump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg/Library/BaseLib/SetJump.c') 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); } -- cgit v1.2.3