From fd99d1a91ded414272f71624e6e2efad0c8324f4 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Mon, 27 Jun 2011 06:03:06 +0000 Subject: [PATCH] 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 --- DuetPkg/DxeIpl/Debug.c | 2 +- DuetPkg/DxeIpl/SerialStatusCode.c | 4 ++-- 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); } } -- 2.39.2