X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FMultU64x64.c;h=997abbc27e8f2259a2eaa966185f68d693b83748;hp=6324c3e335091d02b13734a5a17d74ffe4701dc2;hb=1ea5ca46c7eefe66a01cb4db3b72fc0e5a04e2cb;hpb=ebfe209ec07c4105baba33576457a4bd6c798a2b diff --git a/MdePkg/Library/BaseLib/MultU64x64.c b/MdePkg/Library/BaseLib/MultU64x64.c index 6324c3e335..997abbc27e 100644 --- a/MdePkg/Library/BaseLib/MultU64x64.c +++ b/MdePkg/Library/BaseLib/MultU64x64.c @@ -22,8 +22,6 @@ unsigned value Multiplier and generates a 64-bit unsigned result. This 64- bit unsigned result is returned. - If the result overflows, then ASSERT(). - @param Multiplicand A 64-bit unsigned value. @param Multiplier A 64-bit unsigned value. @@ -40,6 +38,6 @@ MultU64x64 ( UINT64 Result; Result = InternalMathMultU64x64 (Multiplicand, Multiplier); - // TODO: ASSERT (Result not overflow); + return Result; }