From 35b0b55b3ee0f6d6771c7992b8fefffc54bda48e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 15 May 2013 13:37:15 -0400 Subject: Fix some minor type errors. Signed-off-by: Peter Jones --- shim.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shim.c') diff --git a/shim.c b/shim.c index f2b8f1d1..c1cf17ae 100644 --- a/shim.c +++ b/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; -- cgit v1.2.3