diff options
Diffstat (limited to 'Nt32Pkg/WinNtSerialIoDxe')
-rw-r--r-- | Nt32Pkg/WinNtSerialIoDxe/ComponentName.c | 2 | ||||
-rw-r--r-- | Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c index 507268c8ef..dcd7e3c160 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c @@ -345,7 +345,7 @@ WinNtSerialIoComponentNameGetControllerName ( Status = gBS->OpenProtocol (
ChildHandle,
&gEfiSerialIoProtocolGuid,
- &SerialIo,
+ (VOID **) &SerialIo,
gWinNtSerialIoDriverBinding.DriverBindingHandle,
ChildHandle,
EFI_OPEN_PROTOCOL_GET_PROTOCOL
diff --git a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c index 1419c5a653..e12f14dc29 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c +++ b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c @@ -132,7 +132,7 @@ Returns: Status = gBS->OpenProtocol (
Handle,
&gEfiDevicePathProtocolGuid,
- &ParentDevicePath,
+ (VOID **) &ParentDevicePath,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_BY_DRIVER
@@ -155,7 +155,7 @@ Returns: Status = gBS->OpenProtocol (
Handle,
&gEfiWinNtIoProtocolGuid,
- &WinNtIo,
+ (VOID **) &WinNtIo,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_BY_DRIVER
@@ -271,7 +271,7 @@ Returns: Status = gBS->OpenProtocol (
Handle,
&gEfiDevicePathProtocolGuid,
- &ParentDevicePath,
+ (VOID **) &ParentDevicePath,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_BY_DRIVER
@@ -286,7 +286,7 @@ Returns: Status = gBS->OpenProtocol (
Handle,
&gEfiWinNtIoProtocolGuid,
- &WinNtIo,
+ (VOID **) &WinNtIo,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_BY_DRIVER
@@ -327,7 +327,7 @@ Returns: Status = gBS->OpenProtocol (
OpenInfoBuffer[Index].ControllerHandle,
&gEfiSerialIoProtocolGuid,
- &SerialIo,
+ (VOID **) &SerialIo,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_GET_PROTOCOL
@@ -494,7 +494,7 @@ Returns: Status = gBS->OpenProtocol (
Handle,
&gEfiWinNtIoProtocolGuid,
- &WinNtIo,
+ (VOID **) &WinNtIo,
This->DriverBindingHandle,
Private->Handle,
EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER
@@ -597,7 +597,7 @@ Returns: Status = gBS->OpenProtocol (
ChildHandleBuffer[Index],
&gEfiSerialIoProtocolGuid,
- &SerialIo,
+ (VOID **) &SerialIo,
This->DriverBindingHandle,
Handle,
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|