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:
vanjeff 2008-07-14 02:26:07 +00:00
parent b4489769b1
commit dee6b58df6
1 changed files with 2 additions and 2 deletions

View File

@ -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));