mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
Use BIT8-1 insetad of UINT8_MAX
Fix a typo in a comment git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6910 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f4ec40abd6
commit
daa6553a39
@ -98,7 +98,7 @@ typedef struct {
|
|||||||
Macro that returns the a pointer to the next EFI_MEMORY_DESCRIPTOR in an array
|
Macro that returns the a pointer to the next EFI_MEMORY_DESCRIPTOR in an array
|
||||||
returned from GetMemoryMap().
|
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.
|
@param Size The size, in bytes, of the current EFI_MEMORY_DESCRIPTOR.
|
||||||
|
|
||||||
|
@ -604,7 +604,7 @@ Decode (
|
|||||||
//
|
//
|
||||||
// Process a Pointer
|
// Process a Pointer
|
||||||
//
|
//
|
||||||
CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));
|
CharC = (UINT16) (CharC - (BIT8 - THRESHOLD));
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get string length
|
// Get string length
|
||||||
|
Loading…
x
Reference in New Issue
Block a user