summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/GetPowerOfTwo32.c')
-rw-r--r--MdePkg/Library/BaseLib/GetPowerOfTwo32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/GetPowerOfTwo32.c b/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
index 19b00dd760..f9849c34c4 100644
--- a/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
+++ b/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
@@ -38,7 +38,7 @@ GetPowerOfTwo32 (
IN UINT32 Operand
)
{
- if (Operand == 0) {
+ if (0 == Operand) {
return 0;
}