summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-08 10:15:52 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-10 13:00:24 +0300
commit8c4488677fdf27b8f8aae9ddcc0041205196f5c3 (patch)
treec5e72fdbfd3808ce4ec945e143c495a1935ba0e1 /lib
parent7631c9d0a4796e3c79b731c072720f2b5b217053 (diff)
downloadu-boot-8c4488677fdf27b8f8aae9ddcc0041205196f5c3.tar.xz
efi_loader: esrt: wrong type for LocateHandleBuffer()
efi_locate_handle_buffer() expects no_handles to be of type efi_uintn_t *. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_esrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_esrt.c b/lib/efi_loader/efi_esrt.c
index a750164bc4..40f53260e4 100644
--- a/lib/efi_loader/efi_esrt.c
+++ b/lib/efi_loader/efi_esrt.c
@@ -316,7 +316,7 @@ efi_status_t efi_esrt_populate(void)
{
efi_handle_t *base_handle = NULL;
efi_handle_t *it_handle;
- size_t no_handles = 0;
+ efi_uintn_t no_handles = 0;
struct efi_firmware_management_protocol *fmp;
efi_status_t ret;
u32 num_entries = 0;