Clean ICC build
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 27 Jun 2008 08:17:11 +0000 (08:17 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 27 Jun 2008 08:17:11 +0000 (08:17 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@5376 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassImpl.c

index e556c4d..a124d04 100644 (file)
@@ -373,7 +373,7 @@ UsbMassInitTransport (
   Status = gBS->OpenProtocol (\r
                   Controller,\r
                   &gEfiUsbIoProtocolGuid,\r
-                  &UsbIo,\r
+                  (VOID **) &UsbIo,\r
                   This->DriverBindingHandle,\r
                   Controller,\r
                   EFI_OPEN_PROTOCOL_BY_DRIVER\r
@@ -526,7 +526,7 @@ UsbMassInitMultiLun (
     Status = gBS->OpenProtocol (\r
                     Controller,\r
                     &gEfiUsbIoProtocolGuid,\r
-                    &UsbIo,\r
+                    (VOID **) &UsbIo,\r
                     This->DriverBindingHandle,\r
                     UsbMass->Controller,\r
                     EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER\r
@@ -597,7 +597,7 @@ UsbMassInitNonLun (
   Status = gBS->OpenProtocol (\r
                   Controller,\r
                   &gEfiUsbIoProtocolGuid,\r
-                  &UsbIo,\r
+                  (VOID **) &UsbIo,\r
                   This->DriverBindingHandle,\r
                   Controller,\r
                   EFI_OPEN_PROTOCOL_BY_DRIVER\r
@@ -868,7 +868,7 @@ USBMassDriverBindingStop (
     Status = gBS->OpenProtocol (\r
                     Controller,\r
                     &gEfiBlockIoProtocolGuid,\r
-                    &BlockIo,\r
+                    (VOID **) &BlockIo,\r
                     This->DriverBindingHandle,\r
                     Controller,\r
                     EFI_OPEN_PROTOCOL_GET_PROTOCOL\r
@@ -973,7 +973,7 @@ USBMassDriverBindingStop (
       gBS->OpenProtocol (\r
              Controller,\r
              &gEfiUsbIoProtocolGuid,\r
-             &UsbIo,\r
+             (VOID **) &UsbIo,\r
              This->DriverBindingHandle,\r
              ChildHandleBuffer[Index],\r
              EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER\r