]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/NvVarsFileLib/FsAccess.c
Update the copyright notice format
[mirror_edk2.git] / OvmfPkg / Library / NvVarsFileLib / FsAccess.c
index cbae15afad63c36d0e5f87506c520d6ca0dbb5f8..f1694051ab770348b093f54db8167b567a0de3bd 100644 (file)
@@ -1,8 +1,8 @@
 /** @file
   File System Access for NvVarsFileLib
 
-  Copyright (c) 2004 - 2009, Intel Corporation. <BR>
-  All rights reserved. This program and the accompanying materials
+  Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>
+  This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
   which accompanies this distribution.  The full text of the license may be found at
   http://opensource.org/licenses/bsd-license.php
@@ -117,7 +117,7 @@ NvVarsFileReadCheckup (
   }
 
   *Exists = TRUE;
-  *Size = FileInfo->FileSize;
+  *Size = (UINTN) FileInfo->FileSize;
 
   FreePool (FileInfo);
 }
@@ -507,11 +507,11 @@ SaveNvVarsToFs (
     Status = PackVariableIntoFile (
                File,
                VariableName,
-               VariableNameSize,
+               (UINT32) VariableNameSize,
                &VendorGuid,
                VariableAttributes,
                VariableData,
-               VariableDataSize
+               (UINT32) VariableDataSize
                );
     if (EFI_ERROR (Status)) {
       break;