diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-14 08:59:32 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-14 08:59:32 +0000 |
commit | 0b94e31981fde83116598dc7a2c8a346d46fd3cf (patch) | |
tree | b5fe86e1cc9555b1a45434403fa36d7d2331187e /Nt32Pkg/FvbServicesRuntimeDxe | |
parent | 5f300691d0ef724c1580924da6ba6750794d918e (diff) | |
download | edk2-platforms-0b94e31981fde83116598dc7a2c8a346d46fd3cf.tar.xz |
Fix ICC building issue for Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6110 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/FvbServicesRuntimeDxe')
-rw-r--r-- | Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c | 12 | ||||
-rw-r--r-- | Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c b/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c index b6f3e1500c..beafb46fb0 100644 --- a/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c +++ b/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c @@ -1080,10 +1080,10 @@ EFI_STATUS EFIAPI
FvbProtocolWrite (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
- IN CONST EFI_LBA Lba,
- IN CONST UINTN Offset,
- IN OUT UINTN *NumBytes,
- IN CONST UINT8 *Buffer
+ IN EFI_LBA Lba,
+ IN UINTN Offset,
+ IN OUT UINTN *NumBytes,
+ IN UINT8 *Buffer
)
/*++
@@ -1263,7 +1263,7 @@ Returns: Ptr = (UINT16 *) FwVolHeader;
Checksum = 0;
while (HeaderLength > 0) {
- Checksum = Checksum + (*Ptr);
+ Checksum = (UINT16)(Checksum + (*Ptr));
HeaderLength--;
Ptr++;
}
@@ -1492,7 +1492,7 @@ Returns: Status = gBS->HandleProtocol (
FwbHandle,
&gEfiFirmwareVolumeBlockProtocolGuid,
- &OldFwbInterface
+ (VOID**)&OldFwbInterface
);
ASSERT_EFI_ERROR (Status);
diff --git a/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h b/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h index 5ff7a89763..7934547c0f 100644 --- a/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h +++ b/Nt32Pkg/FvbServicesRuntimeDxe/FwBlockService.h @@ -194,10 +194,10 @@ EFI_STATUS EFIAPI
FvbProtocolWrite (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
- IN CONST EFI_LBA Lba,
- IN CONST UINTN Offset,
- IN OUT UINTN *NumBytes,
- IN CONST UINT8 *Buffer
+ IN EFI_LBA Lba,
+ IN UINTN Offset,
+ IN OUT UINTN *NumBytes,
+ IN UINT8 *Buffer
);
EFI_STATUS
|