summaryrefslogtreecommitdiff
path: root/DuetPkg/DxeIpl
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-27 06:03:06 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-27 06:03:06 +0000
commitfd99d1a91ded414272f71624e6e2efad0c8324f4 (patch)
tree714a13904e8d215b2b8046092c95b9f8d92aa96c /DuetPkg/DxeIpl
parent345a0c8fce389df4ec50a2c1ffc4f9e5387d461a (diff)
downloadedk2-platforms-fd99d1a91ded414272f71624e6e2efad0c8324f4.tar.xz
Fix UnixGcc build failures.
Signed-off-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11891 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DxeIpl')
-rw-r--r--DuetPkg/DxeIpl/Debug.c2
-rw-r--r--DuetPkg/DxeIpl/SerialStatusCode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/DxeIpl/Debug.c b/DuetPkg/DxeIpl/Debug.c
index 950c06b118..1cb7e39c80 100644
--- a/DuetPkg/DxeIpl/Debug.c
+++ b/DuetPkg/DxeIpl/Debug.c
@@ -77,6 +77,6 @@ PrintString (
//
// All information also output to serial port.
//
- SerialPortWrite (PrintBuffer, Index);
+ SerialPortWrite ((UINT8 *) PrintBuffer, Index);
}
diff --git a/DuetPkg/DxeIpl/SerialStatusCode.c b/DuetPkg/DxeIpl/SerialStatusCode.c
index 27e8644b38..1595932383 100644
--- a/DuetPkg/DxeIpl/SerialStatusCode.c
+++ b/DuetPkg/DxeIpl/SerialStatusCode.c
@@ -675,7 +675,7 @@ Returns:
//
// Callout to platform Lib function to do print.
//
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
}
//
@@ -727,7 +727,7 @@ Returns:
Instance
);
- SerialPortWrite (Buffer, CharCount);
+ SerialPortWrite ((UINT8 *) Buffer, CharCount);
}
}