X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FRRotU32.c;h=63f9ce6e6ae63acbb3032af055b532bfa8014498;hb=3c39934be2000b20326dd9297c88bc070bac419d;hp=b90ae7f42474b66fc156c97357ecfefe021305f8;hpb=1efcc4ae46f52e3845923ffbab68426e068709d2;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/RRotU32.c b/MdePkg/Library/BaseLib/RRotU32.c index b90ae7f424..63f9ce6e6a 100644 --- a/MdePkg/Library/BaseLib/RRotU32.c +++ b/MdePkg/Library/BaseLib/RRotU32.c @@ -1,7 +1,7 @@ /** @file Math worker functions. - Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -12,9 +12,6 @@ **/ - - - #include "BaseLibInternals.h" /** @@ -40,6 +37,6 @@ RRotU32 ( IN UINTN Count ) { - ASSERT (Count < sizeof (Operand) * 8); + ASSERT (Count < 32); return (Operand >> Count) | (Operand << (32 - Count)); }