Correct parameter UINTN to UINT32. Fix UINTN conver to UINT32

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3580 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2007-08-08 15:43:06 +00:00
parent f651bd33bf
commit 1b0d0cc5f1
1 changed files with 4 additions and 3 deletions

View File

@ -647,7 +647,7 @@ Returns:
EFI_STATUS Status;
UINT8 *DstBuffer;
UINT8 *ScratchBuffer;
UINT32 DstBufferSize;
UINTN DstBufferSize;
UINT32 ScratchBufferSize;
EFI_COMMON_SECTION_HEADER *CmpSection;
UINTN CmpSectionLength;
@ -728,7 +728,7 @@ Returns:
SectionExtract,
(VOID *) Section,
(VOID **) &DstBuffer,
(UINTN *) &DstBufferSize,
&DstBufferSize,
&AuthenticationStatus
);
@ -736,6 +736,7 @@ Returns:
DEBUG ((EFI_D_ERROR, "Extract section content failed - %r\n", Status));
return Status;
}
//
// Todo check AuthenticationStatus and do the verify
//
@ -754,7 +755,7 @@ Returns:
Status = UefiDecompressGetInfo (
(UINT8 *) ((EFI_COMPRESSION_SECTION *) Section + 1),
(UINT32) SectionLength - sizeof (EFI_COMPRESSION_SECTION),
&DstBufferSize,
(UINT32 *) &DstBufferSize,
&ScratchBufferSize
);
if (EFI_ERROR (Status)) {