summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c
index c77fa0a351..297c2cfc55 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c
@@ -273,7 +273,7 @@ Returns:
gBS->HandleProtocol (
Handles[Index],
&gEfiDevicePathProtocolGuid,
- &DevicePath
+ (VOID**) &DevicePath
);
Ptr = (UINT8 *) DevicePath;
while (*Ptr != END_DEVICE_PATH_TYPE) {
@@ -309,7 +309,7 @@ Returns:
gBS->HandleProtocol (
Handles[Index],
&gEfiSerialIoProtocolGuid,
- &SerialIo
+ (VOID**) &SerialIo
);
CopyMem (