]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/Dblk.c
ShellPkg: Fix GCC 4.4 build issues
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / Dblk.c
index 4e49d2120b7c8566718e92621b3394e0245c5fdd..580f4adc292b9e8a9ea90f9beea4d2c28df5c967 100644 (file)
@@ -41,7 +41,7 @@ DisplayTheBlocks(
 \r
   ShellStatus = SHELL_SUCCESS;\r
 \r
-  Status = gBS->LocateDevicePath(&gEfiBlockIoProtocolGuid, &((EFI_DEVICE_PATH_PROTOCOL *)DevPath), &BlockIoHandle);\r
+  Status = gBS->LocateDevicePath(&gEfiBlockIoProtocolGuid, (EFI_DEVICE_PATH_PROTOCOL **)&DevPath, &BlockIoHandle);\r
   if (EFI_ERROR(Status)) {\r
     return (SHELL_NOT_FOUND);\r
   }\r