summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-31 17:22:48 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-31 17:22:48 +0000
commit3d7dfb3886b172f1656987dbdce49743e18e4cbf (patch)
treefd2618c5f11ed514d2b0568a5f45acea726646fe /IntelFrameworkModulePkg/Library
parent071a9a1f65b22e5f7fca6870245be504f98fd510 (diff)
downloadedk2-platforms-3d7dfb3886b172f1656987dbdce49743e18e4cbf.tar.xz
Change (UINT8 *) to (CHAR *) to make types the same for comparison operations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8415 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
-rw-r--r--IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
index 79a33dc04e..cafe0c6242 100644
--- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
+++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
@@ -94,7 +94,7 @@ DebugPrint (
DebugInfo = (EFI_DEBUG_INFO *)Buffer;
DebugInfo->ErrorLevel = (UINT32)ErrorLevel;
BaseListMarker = (BASE_LIST)(DebugInfo + 1);
- FormatString = (UINT8 *)((UINT64 *)(DebugInfo + 1) + 12);
+ FormatString = (CHAR8 *)((UINT64 *)(DebugInfo + 1) + 12);
//
// Copy the Format string into the record
@@ -191,12 +191,12 @@ DebugPrint (
// This indicates that the DEBUG() macro is passing in more argument than can be handled by
// the EFI_DEBUG_INFO record
//
- ASSERT ((UINT8 *)BaseListMarker <= FormatString);
+ ASSERT ((CHAR8 *)BaseListMarker <= FormatString);
//
// If the converted BASE_LIST is larger than the 12 * sizeof (UINT64) allocated bytes, then return
//
- if ((UINT8 *)BaseListMarker > FormatString) {
+ if ((CHAR8 *)BaseListMarker > FormatString) {
return;
}
}