diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 03:51:28 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-12 03:51:28 +0000 |
commit | 8ef571dfb56dc8720d217ab9aa6efa5f025641c9 (patch) | |
tree | 725a07a933e469eea26c4dd9875bcdd4be7549d7 /EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c | |
parent | 6c31fdb8879f46684210cd5c01d9b3246edeb0ad (diff) | |
download | edk2-platforms-8ef571dfb56dc8720d217ab9aa6efa5f025641c9.tar.xz |
fix some minor warning for unix package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2230 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c')
-rw-r--r-- | EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c index 02be71e789..3de404ba7c 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c +++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c @@ -411,7 +411,7 @@ Returns: ASSERT (FPCallbackInfo.Data.VideoBIOS <= 1);
- Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), &IfrOptionList);
+ Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), (VOID**) &IfrOptionList);
if (IfrOptionList != NULL) {
IfrOptionList[0].Flags = EFI_IFR_FLAG_INTERACTIVE;
IfrOptionList[0].Key = SET_VIDEO_BIOS_TYPE_QUESTION_ID + 0x2000;
|