summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/GetPowerOfTwo64.c')
-rw-r--r--MdePkg/Library/BaseLib/GetPowerOfTwo64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
index 2f0f411ae4..344ce27519 100644
--- a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
+++ b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
@@ -19,7 +19,7 @@
/**
Returns the value of the highest bit set in a 64-bit value. Equivalent to
- 1 << HighBitSet64(x).
+ 1 << log2(x).
This function computes the value of the highest bit set in the 64-bit value
specified by Operand. If Operand is zero, then zero is returned.