diff options
-rw-r--r-- | MdePkg/Include/Library/UefiLib.h | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 1d8a8e1166..b6750e4f8a 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -98,7 +98,7 @@ typedef struct { Macro that returns the a pointer to the next EFI_MEMORY_DESCRIPTOR in an array
returned from GetMemoryMap().
- @param MemoryDescriptor Pointer tot he current EFI_MEMORY_DESCRIPTOR.
+ @param MemoryDescriptor A pointer to an EFI_MEMORY_DESCRIPTOR.
@param Size The size, in bytes, of the current EFI_MEMORY_DESCRIPTOR.
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c index 98492c88f8..21d35e29da 100644 --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c @@ -604,7 +604,7 @@ Decode ( //
// Process a Pointer
//
- CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));
+ CharC = (UINT16) (CharC - (BIT8 - THRESHOLD));
//
// Get string length
|