mirror of https://github.com/acidanthera/audk.git
case UINTN to UINT32.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5457 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b4489769b1
commit
dee6b58df6
|
@ -718,8 +718,8 @@ UefiDefaultsToFrameworkDefaults (
|
||||||
// Initialize EFI_HII_VARIABLE_PACK
|
// Initialize EFI_HII_VARIABLE_PACK
|
||||||
//
|
//
|
||||||
Pack->Header.Type = 0;
|
Pack->Header.Type = 0;
|
||||||
Pack->Header.Length = Size;
|
Pack->Header.Length = (UINT32) Size;
|
||||||
Pack->VariableNameLength = StrSize (Node->Name);
|
Pack->VariableNameLength = (UINT32) StrSize (Node->Name);
|
||||||
CopyMem (&Pack->VariableGuid, &Node->Guid, sizeof (EFI_GUID));
|
CopyMem (&Pack->VariableGuid, &Node->Guid, sizeof (EFI_GUID));
|
||||||
|
|
||||||
CopyMem ((UINT8 *) Pack + sizeof (EFI_HII_VARIABLE_PACK), Node->Name, StrSize (Node->Name));
|
CopyMem ((UINT8 *) Pack + sizeof (EFI_HII_VARIABLE_PACK), Node->Name, StrSize (Node->Name));
|
||||||
|
|
Loading…
Reference in New Issue