From: qhuang8 Date: Fri, 1 Feb 2008 14:54:52 +0000 (+0000) Subject: Fix the asserting error for SetJump(). X-Git-Tag: edk2-stable201903~21539 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=1e3ee5367888909132a53c1dfc51dcd7c456528f Fix the asserting error for SetJump(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4650 6f19259b-4bc3-4df7-8a09-765794883524 --- 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); }