X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FLRotU64.c;h=86792cd10da1c4887c81038f3ab166c5ac5fb185;hb=9aa049d9717f1260426918eab2d5986e838a8754;hp=cf751f98f5c19a67040a676a3c07c5a215bba129;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/LRotU64.c b/MdePkg/Library/BaseLib/LRotU64.c index cf751f98f5..86792cd10d 100644 --- a/MdePkg/Library/BaseLib/LRotU64.c +++ b/MdePkg/Library/BaseLib/LRotU64.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 @@ -27,7 +27,7 @@ @param Operand The 64-bit operand to rotate left. @param Count The number of bits to rotate left. - @return Operand <<< Count + @return Operand << Count **/ UINT64 @@ -37,6 +37,6 @@ LRotU64 ( IN UINTN Count ) { - ASSERT (Count < sizeof (Operand) * 8); + ASSERT (Count < 64); return InternalMathLRotU64 (Operand, Count); }