From 76d689798e6d95bd5a0732f1862703a337e4d789 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 22 Sep 2009 23:44:17 +0000 Subject: [PATCH] NvVarsFileLib: Fix build warning with VS2005 on X64. --- OvmfPkg/Library/NvVarsFileLib/FsAccess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c index 6059f0334..085550c8c 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; -- 2.11.4.GIT