From 0f729825d0cf02a14c421310deae5357de3b7346 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 22 Sep 2009 23:44:17 +0000 Subject: 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 --- OvmfPkg/Library/NvVarsFileLib/FsAccess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OvmfPkg/Library/NvVarsFileLib') 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; -- cgit v1.2.3