X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FLowBitSet32.c;h=ed1ead6cc0ebfd5e0088231b28595c4a55df8ec6;hb=04fdba541287ba2759ce3e51157c38148ad8b4f6;hp=a598a1f71f41570ebe4824b5c58f9cce4b0a24a1;hpb=f734a10ab104f1072f94cab66a5489e0fd8fce8a;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/LowBitSet32.c b/MdePkg/Library/BaseLib/LowBitSet32.c index a598a1f71f..ed1ead6cc0 100644 --- a/MdePkg/Library/BaseLib/LowBitSet32.c +++ b/MdePkg/Library/BaseLib/LowBitSet32.c @@ -12,9 +12,7 @@ **/ -// -// Include common header file for this module. -// + #include "BaseLibInternals.h" @@ -44,6 +42,6 @@ LowBitSet32 ( return -1; } - for (BitIndex = 0; (Operand & 1) == 0; BitIndex++, Operand >>= 1); + for (BitIndex = 0; 0 == (Operand & 1); BitIndex++, Operand >>= 1); return BitIndex; }