summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/DxeIplPeim
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-08 15:43:06 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-08 15:43:06 +0000
commit1b0d0cc5f108d65135c26259ff81c60dd2cc6d74 (patch)
treee68a484fbc0fbae74f164195bd44694e69ca6372 /MdeModulePkg/Core/DxeIplPeim
parentf651bd33bfec74425b90b50684ea36bb79168d0a (diff)
downloadedk2-1b0d0cc5f108d65135c26259ff81c60dd2cc6d74.zip
edk2-1b0d0cc5f108d65135c26259ff81c60dd2cc6d74.tar.gz
edk2-1b0d0cc5f108d65135c26259ff81c60dd2cc6d74.tar.bz2
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
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index 12dd583..901b061 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -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)) {