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 5cabff9069..3472b7b06e 100644
--- a/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
+++ b/MdePkg/Library/BaseLib/GetPowerOfTwo32.c
@@ -19,7 +19,7 @@
/**
Returns the value of the highest bit set in a 32-bit value. Equivalent to
- 1 << HighBitSet32(x).
+ 1 << log2(x).
This function computes the value of the highest bit set in the 32-bit value
specified by Operand. If Operand is zero, then zero is returned.