]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Change (UINT8 *) to (CHAR *) to make types the same for comparison operations
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 31 May 2009 17:22:48 +0000 (17:22 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 31 May 2009 17:22:48 +0000 (17:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8415 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c

index 79a33dc04e2b52446c23a40a764299c8f7386ccb..cafe0c62424b44b5293a3d044e1405170f736da4 100644 (file)
@@ -94,7 +94,7 @@ DebugPrint (
   DebugInfo             = (EFI_DEBUG_INFO *)Buffer;\r
   DebugInfo->ErrorLevel = (UINT32)ErrorLevel;\r
   BaseListMarker        = (BASE_LIST)(DebugInfo + 1);\r
-  FormatString          = (UINT8 *)((UINT64 *)(DebugInfo + 1) + 12);\r
+  FormatString          = (CHAR8 *)((UINT64 *)(DebugInfo + 1) + 12);\r
 \r
   //\r
   // Copy the Format string into the record\r
@@ -191,12 +191,12 @@ DebugPrint (
     // This indicates that the DEBUG() macro is passing in more argument than can be handled by \r
     // the EFI_DEBUG_INFO record\r
     //\r
-    ASSERT ((UINT8 *)BaseListMarker <= FormatString);\r
+    ASSERT ((CHAR8 *)BaseListMarker <= FormatString);\r
 \r
     //\r
     // If the converted BASE_LIST is larger than the 12 * sizeof (UINT64) allocated bytes, then return\r
     //\r
-    if ((UINT8 *)BaseListMarker > FormatString) {\r
+    if ((CHAR8 *)BaseListMarker > FormatString) {\r
       return;\r
     }\r
   }\r