diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-08 15:43:06 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-08 15:43:06 +0000 |
commit | 1b0d0cc5f108d65135c26259ff81c60dd2cc6d74 (patch) | |
tree | e68a484fbc0fbae74f164195bd44694e69ca6372 /MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | |
parent | f651bd33bfec74425b90b50684ea36bb79168d0a (diff) | |
download | edk2-platforms-1b0d0cc5f108d65135c26259ff81c60dd2cc6d74.tar.xz |
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/DxeLoad.c')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c index 12dd583d38..901b061973 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)) {
|