summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 08:02:55 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 08:02:55 +0000
commita8bcbf3d1187bd3bc0edbca6a18ed9e98aa072d1 (patch)
tree85c2f93e9b1b3077134031bc269d72a60b925d22 /EdkModulePkg/Universal
parent52cbbdbc1680859f5303150d0699a1ebfaa485a4 (diff)
downloadedk2-platforms-a8bcbf3d1187bd3bc0edbca6a18ed9e98aa072d1.tar.xz
Fix bug which define different PCD with same token number in EdkModulePkg.spd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c2
-rw-r--r--EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c b/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
index 9f1f922269..e65294f370 100644
--- a/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
+++ b/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
@@ -170,7 +170,7 @@ SerialStatusCodeReportWorker (
//
// Callout to SerialPort Lib function to do print.
//
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
}
if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) {
SerialIoProtocol->Write (
diff --git a/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c b/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
index fc22b624ec..049e4ef778 100644
--- a/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
+++ b/EdkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
@@ -141,7 +141,7 @@ SerialStatusCodeReportWorker (
//
// Callout to SerialPort Lib function to do print.
//
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
return EFI_SUCCESS;
}