diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-23 23:57:13 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-23 23:57:13 +0000 |
commit | 7c04a679087c261af74d450f02ea095b2a8d8f91 (patch) | |
tree | 18f9435aa6cb7233b322e48a55ab84fcc0597527 /DuetPkg/FSVariable/FileStorage.c | |
parent | 8e53d24672edba2361b05e6e9046358b199f10b5 (diff) | |
download | edk2-platforms-7c04a679087c261af74d450f02ea095b2a8d8f91.tar.xz |
Resolved several warnings generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6685 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/FSVariable/FileStorage.c')
-rw-r--r-- | DuetPkg/FSVariable/FileStorage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c index 2334a16fd2..df11ae16b8 100644 --- a/DuetPkg/FSVariable/FileStorage.c +++ b/DuetPkg/FSVariable/FileStorage.c @@ -154,7 +154,7 @@ CheckStoreExists ( Status = gBS->HandleProtocol (
Handle,
&gEfiSimpleFileSystemProtocolGuid,
- &Volume
+ (VOID **) &Volume
);
if (EFI_ERROR (Status)) {
return Status;
@@ -243,7 +243,7 @@ FileStorageConstructor ( EFI_STATUS Status;
EFI_EVENT Event;
- Status = gBS->AllocatePool (EfiRuntimeServicesData, sizeof(VS_DEV), &Dev);
+ Status = gBS->AllocatePool (EfiRuntimeServicesData, sizeof(VS_DEV), (VOID **) &Dev);
ASSERT_EFI_ERROR (Status);
ZeroMem (Dev, sizeof(VS_DEV));
@@ -361,7 +361,7 @@ OnVirtualAddressChangeFs ( Dev = DEV_FROM_THIS (Context);
- EfiConvertPointer (0, &VAR_DATA_PTR (Dev));
+ EfiConvertPointer (0, (VOID **) &VAR_DATA_PTR (Dev));
EfiConvertPointer (0, (VOID **) &Dev->VarStore.Erase);
EfiConvertPointer (0, (VOID **) &Dev->VarStore.Write);
}
@@ -394,7 +394,7 @@ OpenStore ( Status = gBS->HandleProtocol (
Handle,
&gEfiSimpleFileSystemProtocolGuid,
- &Volume
+ (VOID **) &Volume
);
if (EFI_ERROR (Status)) {
return Status;
|