]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.c
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / EfiScriptLib / EfiScriptLib.c
index e31546f28e957c80e6c6506d49d519263ebcae3e..01ae07ee043152a83a3ee8d976b2862bd0278b30 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2007, 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
@@ -52,7 +52,7 @@ Returns:
 \r
   BS      = SystemTable->BootServices;\r
 \r
-  Status  = BS->LocateProtocol (&gEfiBootScriptSaveGuid, NULL, &mBootScriptSave);\r
+  Status  = BS->LocateProtocol (&gEfiBootScriptSaveGuid, NULL, (VOID **)&mBootScriptSave);\r
   if (EFI_ERROR (Status) && Status != EFI_ALREADY_STARTED) {\r
     mBootScriptSave = NULL;\r
   }\r
@@ -623,7 +623,7 @@ Returns:
   return BootScriptSaveInformation (      \r
            TableName,\r
            (UINT32) EfiStrLen (String) * 2 + 2, \r
-           (EFI_PHYSICAL_ADDRESS)String\r
+           (EFI_PHYSICAL_ADDRESS) (UINTN) String\r
            );\r
 }\r
 \r
@@ -656,7 +656,7 @@ Returns:
   return BootScriptSaveInformation (      \r
            TableName,\r
            (UINT32) EfiAsciiStrLen (String) + 1, \r
-           (EFI_PHYSICAL_ADDRESS)String\r
+           (EFI_PHYSICAL_ADDRESS) (UINTN) String\r
            );\r
 }\r
 \r