]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BootMaint.c
fix some minor warning for unix package
[mirror_edk2.git] / EdkUnixPkg / Dxe / PlatformBds / Generic / BootMaint / BootMaint.c
index 7dfad5156941b7994f35beefc874f80824c855a2..9b84db59d0aa498b4e7bf5ac1c7f3d0e68253fc9 100644 (file)
@@ -757,7 +757,7 @@ Returns:
   //\r
   // There should be only one EFI_HII_PROTOCOL Image\r
   //\r
-  Status = EfiLibLocateProtocol (&gEfiHiiProtocolGuid, &Hii);\r
+  Status = EfiLibLocateProtocol (&gEfiHiiProtocolGuid, (VOID**)&Hii);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
@@ -893,7 +893,7 @@ Returns:
   }\r
 \r
   Location  = (UINT8 *) &UpdateData->Data;\r
-  Status    = EfiLibLocateProtocol (&gEfiLegacyBiosProtocolGuid, &LegacyBios);\r
+  Status    = EfiLibLocateProtocol (&gEfiLegacyBiosProtocolGuid, (VOID**) &LegacyBios);\r
   if (!EFI_ERROR (Status)) {\r
     //\r
     // If LegacyBios Protocol is installed, add 3 tags about legacy boot option\r
@@ -1240,7 +1240,7 @@ Returns:
   //\r
   // There should only be one Form Configuration protocol\r
   //\r
-  Status = EfiLibLocateProtocol (&gEfiFormBrowserProtocolGuid, &FormConfig);\r
+  Status = EfiLibLocateProtocol (&gEfiFormBrowserProtocolGuid, (VOID**) &FormConfig);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r