]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Use BIT8-1 insetad of UINT8_MAX
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 7 Dec 2008 23:59:51 +0000 (23:59 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 7 Dec 2008 23:59:51 +0000 (23:59 +0000)
Fix a typo in a comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6910 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/UefiLib.h
MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c

index 1d8a8e1166a5edc15f9df65b95395e235d13a422..b6750e4f8a636914acf2b2eeddf6003fe966a900 100644 (file)
@@ -98,7 +98,7 @@ typedef struct {
   Macro that returns the a pointer to the next EFI_MEMORY_DESCRIPTOR in an array \r
   returned from GetMemoryMap().  \r
 \r
-  @param  MemoryDescriptor  Pointer tot he current EFI_MEMORY_DESCRIPTOR.\r
+  @param  MemoryDescriptor  A pointer to an EFI_MEMORY_DESCRIPTOR.\r
 \r
   @param  Size              The size, in bytes, of the current EFI_MEMORY_DESCRIPTOR.\r
 \r
index 98492c88f8102d4c713d96a48bfffbaaea8cc9c7..21d35e29da3e71cea487e937f991f6af27297036 100644 (file)
@@ -604,7 +604,7 @@ Decode (
       //\r
       // Process a Pointer\r
       //\r
-      CharC       = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD));\r
+      CharC       = (UINT16) (CharC - (BIT8 - THRESHOLD));\r
  \r
       //\r
       // Get string length\r