]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ICC Cleanup: add (VOID **) typecast.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Nov 2008 08:04:39 +0000 (08:04 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Nov 2008 08:04:39 +0000 (08:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6585 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.c

index 980635dc7f01b55cd3b235e8ebf1e0769b6b652c..a229bf38509b86dcedf22e271c826468105cc5a4 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
 /*++\r
 \r
-Copyright (c)  2004 - 2007, Intel Corporation                                                         \r
+Copyright (c)  2004 - 2008, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -81,7 +81,7 @@ Returns:
 \r
     gBS->RestoreTPL (CurrentTpl);\r
     \r
 \r
     gBS->RestoreTPL (CurrentTpl);\r
     \r
-    gBS->AllocatePool (EfiBootServicesData, sizeof (DATAHUB_STATUSCODE_RECORD) * 16, &Record);\r
+    gBS->AllocatePool (EfiBootServicesData, sizeof (DATAHUB_STATUSCODE_RECORD) * 16, (VOID **) &Record);\r
     if (Record == NULL) {\r
       return NULL;\r
     }\r
     if (Record == NULL) {\r
       return NULL;\r
     }\r