summaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fallback.c b/fallback.c
index cf1ebe46..82ddbf2f 100644
--- a/fallback.c
+++ b/fallback.c
@@ -501,7 +501,7 @@ find_boot_options(EFI_HANDLE device)
EFI_FILE_IO_INTERFACE *fio = NULL;
rc = uefi_call_wrapper(BS->HandleProtocol, 3, device,
- &FileSystemProtocol, &fio);
+ &FileSystemProtocol, (void **)&fio);
if (EFI_ERROR(rc)) {
Print(L"Couldn't find file system: %d\n", rc);
return rc;