]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/EfiLdr/Debug.c
Update the copyright notice format
[mirror_edk2.git] / DuetPkg / EfiLdr / Debug.c
index 2cc8c73a1e7ded8a127f3dc59ad017585b22635a..0f554b01ed2c97d05e9517433335ee5ea80da758 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -65,9 +65,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
@@ -76,7 +76,7 @@ PrintValue (
 \r
 VOID\r
 PrintString (\r
-  UINT8 *String\r
+  CHAR8 *String\r
   )\r
 {\r
   UINT32 Index;\r