summaryrefslogtreecommitdiff
path: root/DuetPkg/FSVariable/MemStorage.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-23 23:57:13 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-23 23:57:13 +0000
commit7c04a679087c261af74d450f02ea095b2a8d8f91 (patch)
tree18f9435aa6cb7233b322e48a55ab84fcc0597527 /DuetPkg/FSVariable/MemStorage.c
parent8e53d24672edba2361b05e6e9046358b199f10b5 (diff)
downloadedk2-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/MemStorage.c')
-rw-r--r--DuetPkg/FSVariable/MemStorage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/DuetPkg/FSVariable/MemStorage.c b/DuetPkg/FSVariable/MemStorage.c
index 63af149645..cb8c864fce 100644
--- a/DuetPkg/FSVariable/MemStorage.c
+++ b/DuetPkg/FSVariable/MemStorage.c
@@ -54,7 +54,7 @@ MemStorageConstructor (
EFI_STATUS Status;
VS_DEV *Dev;
- 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));
@@ -65,7 +65,7 @@ MemStorageConstructor (
Dev->VarStore.Erase = MemEraseStore;
Dev->VarStore.Write = MemWriteStore;
- Status = gBS->AllocatePool (EfiRuntimeServicesData, Size, &VAR_DATA_PTR (Dev));
+ Status = gBS->AllocatePool (EfiRuntimeServicesData, Size, (VOID **) &VAR_DATA_PTR (Dev));
ASSERT_EFI_ERROR (Status);
DEBUG ((EFI_D_ERROR, "VStorage: Size = 0x%x\n", Size));
@@ -87,9 +87,9 @@ OnVirtualAddressChangeMs (
Dev = DEV_FROM_THIS (Context);
- EfiConvertPointer (0, &VAR_DATA_PTR (Dev));
- EfiConvertPointer (0, (VOID**)&Dev->VarStore.Erase);
- EfiConvertPointer (0, (VOID**)&Dev->VarStore.Write);
+ EfiConvertPointer (0, (VOID **)&VAR_DATA_PTR (Dev));
+ EfiConvertPointer (0, (VOID **)&Dev->VarStore.Erase);
+ EfiConvertPointer (0, (VOID **)&Dev->VarStore.Write);
}
EFI_STATUS