diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-22 23:44:17 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-22 23:44:17 +0000 |
commit | 0f729825d0cf02a14c421310deae5357de3b7346 (patch) | |
tree | 2e37e12aa0a3314a4046f22e114f34adc6a37660 /OvmfPkg/Library/NvVarsFileLib | |
parent | 8a7bae20e19363fd7217c83828af2f6c876d7a71 (diff) | |
download | edk2-platforms-0f729825d0cf02a14c421310deae5357de3b7346.tar.xz |
NvVarsFileLib: Fix build warning with VS2005 on X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9305 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/NvVarsFileLib')
-rw-r--r-- | OvmfPkg/Library/NvVarsFileLib/FsAccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c index 6059f0334e..085550c8c4 100644 --- a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c +++ b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c @@ -507,11 +507,11 @@ SaveNvVarsToFs ( Status = PackVariableIntoFile ( File, VariableName, - VariableNameSize, + (UINT32) VariableNameSize, &VendorGuid, VariableAttributes, VariableData, - VariableDataSize + (UINT32) VariableDataSize ); if (EFI_ERROR (Status)) { break; |