]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/DxeIpl/Debug.c
Final boot image just need combination, no need to create directory
[mirror_edk2.git] / DuetPkg / DxeIpl / Debug.c
index c6fcb76132ba68890b0e9fae3c2768229c7e0ec4..cc93174abcdfc528203ad2d097893c2fcf710361 100644 (file)
@@ -1,4 +1,4 @@
-/*++\r
+/** @file\r
 \r
 Copyright (c) 2006, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
@@ -16,7 +16,7 @@ Abstract:
 \r
 Revision History:\r
 \r
---*/\r
+**/\r
 \r
 #include "DxeIpl.h"\r
 \r
@@ -57,9 +57,9 @@ PrintValue (
   UINT8  Char;\r
 \r
   for (Index = 0; Index < 8; Index++) {\r
-    Char = (UINT8)((Value >> ((7 - Index) * 4)) & 0x0f) + '0';\r
+    Char = (UINT8)(((Value >> ((7 - Index) * 4)) & 0x0f) + '0');\r
     if (Char > '9') {\r
-      Char = Char - '0' - 10 + 'A';\r
+      Char = (UINT8) (Char - '0' - 10 + 'A');\r
     }\r
     *mCursor = Char;\r
     mCursor += 2;\r