From ed711b02ec18fecbf8b627b563e8cdfe1253170a Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Thu, 1 Nov 2012 09:46:51 -0400 Subject: Fix up some types Type-checking the UEFI calls picked up a couple of problems. Fix them up. --- MokManager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MokManager.c') diff --git a/MokManager.c b/MokManager.c index eb5bb919..5802d274 100644 --- a/MokManager.c +++ b/MokManager.c @@ -1362,7 +1362,7 @@ static INTN find_fs (void *data, void *data2, void *data3) { EFI_GUID fs_guid = SIMPLE_FILE_SYSTEM_PROTOCOL; UINTN count, i; UINTN OldSize, NewSize; - EFI_HANDLE **filesystem_handles; + EFI_HANDLE *filesystem_handles = NULL; struct menu_item *filesystems; BOOLEAN hash = !!data3; @@ -1383,7 +1383,7 @@ static INTN find_fs (void *data, void *data2, void *data3) { filesystems[0].colour = EFI_YELLOW; for (i=1; iHandleProtocol, 3, fs, &fs_guid, - &fs_interface); + (void **)&fs_interface); if (status != EFI_SUCCESS || !fs_interface) continue; -- cgit v1.2.3