]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix UnixGcc build failures.
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Jun 2011 06:03:06 +0000 (06:03 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Jun 2011 06:03:06 +0000 (06:03 +0000)
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
DuetPkg/DxeIpl/SerialStatusCode.c

index 950c06b118a802a8e3ac6f95cb14e6fcdb6bc8e4..1cb7e39c80361e4b922e0ab200987d64d1aeb485 100644 (file)
@@ -77,6 +77,6 @@ PrintString (
   //\r
   // All information also output to serial port.\r
   //\r
-  SerialPortWrite (PrintBuffer, Index);\r
+  SerialPortWrite ((UINT8 *) PrintBuffer, Index);\r
 }\r
 \r
index 27e8644b38cb3e01dde4847b3500d85b4cd5f1b2..15959323834760e9796dbcb50caa9d4c5661cd4b 100644 (file)
@@ -675,7 +675,7 @@ Returns:
     //\r
     // Callout to platform Lib function to do print.\r
     //\r
-    SerialPortWrite (Buffer, CharCount);\r
+    SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
   }\r
 \r
   //\r
@@ -727,7 +727,7 @@ Returns:
           Instance\r
           );\r
 \r
-        SerialPortWrite (Buffer, CharCount);\r
+        SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
       }\r
     }\r
 \r