]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
Fix bug which define different PCD with same token number in EdkModulePkg.spd.
[mirror_edk2.git] / EdkModulePkg / Universal / StatusCode / Dxe / SerialStatusCodeWorker.c
index 9f1f922269883b02f8781966acd162fb2c325f53..e65294f370f9f58e053f5877c491e473cdd72617 100644 (file)
@@ -170,7 +170,7 @@ SerialStatusCodeReportWorker (
     //\r
     // Callout to SerialPort Lib function to do print.\r
     //\r
-    SerialPortWrite (Buffer, CharCount);\r
+    SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
   }\r
   if (FeaturePcdGet (PcdStatusCodeUseEfiSerial)) {\r
     SerialIoProtocol->Write (\r