From 1ebee493246a4913534a0c9b113979fcd9c7db3f Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 18 Nov 2008 08:04:39 +0000 Subject: [PATCH] ICC Cleanup: add (VOID **) typecast. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6585 6f19259b-4bc3-4df7-8a09-765794883524 --- .../StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c index 980635dc7f..a229bf3850 100644 --- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c +++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2004 - 2007, Intel Corporation +Copyright (c) 2004 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -81,7 +81,7 @@ Returns: gBS->RestoreTPL (CurrentTpl); - gBS->AllocatePool (EfiBootServicesData, sizeof (DATAHUB_STATUSCODE_RECORD) * 16, &Record); + gBS->AllocatePool (EfiBootServicesData, sizeof (DATAHUB_STATUSCODE_RECORD) * 16, (VOID **) &Record); if (Record == NULL) { return NULL; } -- 2.39.2