diff options
Diffstat (limited to 'OvmfPkg')
-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; |