diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 02:26:07 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 02:26:07 +0000 |
commit | dee6b58df6d11772613f86b4bb46ad5c7f8672f4 (patch) | |
tree | 30c8eecd99ec64033912931b7a0b786cbf8474d9 /EdkCompatibilityPkg | |
parent | b4489769b19dd7a591137265933a81b7206424ee (diff) | |
download | edk2-platforms-dee6b58df6d11772613f86b4bb46ad5c7f8672f4.tar.xz |
case UINTN to UINT32.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5457 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/UefiIfrDefault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/UefiIfrDefault.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/UefiIfrDefault.c index f33d63cfa4..ca012fb998 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/UefiIfrDefault.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/UefiIfrDefault.c @@ -718,8 +718,8 @@ UefiDefaultsToFrameworkDefaults ( // Initialize EFI_HII_VARIABLE_PACK
//
Pack->Header.Type = 0;
- Pack->Header.Length = Size;
- Pack->VariableNameLength = StrSize (Node->Name);
+ Pack->Header.Length = (UINT32) Size;
+ Pack->VariableNameLength = (UINT32) StrSize (Node->Name);
CopyMem (&Pack->VariableGuid, &Node->Guid, sizeof (EFI_GUID));
CopyMem ((UINT8 *) Pack + sizeof (EFI_HII_VARIABLE_PACK), Node->Name, StrSize (Node->Name));
|