mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-05-28 08:00:33 +00:00
Fix some minor type errors.
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
40cf2a423d
commit
35b0b55b3e
@ -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;
|
||||
|
6
shim.c
6
shim.c
@ -910,8 +910,8 @@ should_use_fallback(EFI_HANDLE image_handle)
|
||||
unsigned int pathlen = 0;
|
||||
CHAR16 *bootpath;
|
||||
EFI_FILE_IO_INTERFACE *fio = NULL;
|
||||
EFI_FILE_HANDLE vh;
|
||||
EFI_FILE_HANDLE fh;
|
||||
EFI_FILE *vh;
|
||||
EFI_FILE *fh;
|
||||
EFI_STATUS rc;
|
||||
|
||||
rc = uefi_call_wrapper(BS->HandleProtocol, 3, image_handle,
|
||||
@ -943,7 +943,7 @@ should_use_fallback(EFI_HANDLE image_handle)
|
||||
bootpath[i+1] = '\0';
|
||||
|
||||
rc = uefi_call_wrapper(BS->HandleProtocol, 3, li->DeviceHandle,
|
||||
&FileSystemProtocol, &fio);
|
||||
&FileSystemProtocol, (void **)&fio);
|
||||
if (EFI_ERROR(rc))
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user