aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-08 09:15:52 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-10 12:00:24 +0200
commit8c4488677fdf27b8f8aae9ddcc0041205196f5c3 (patch)
treec5e72fdbfd3808ce4ec945e143c495a1935ba0e1
parent7631c9d0a4796e3c79b731c072720f2b5b217053 (diff)
downloadu-boot-8c4488677fdf27b8f8aae9ddcc0041205196f5c3.zip
u-boot-8c4488677fdf27b8f8aae9ddcc0041205196f5c3.tar.gz
u-boot-8c4488677fdf27b8f8aae9ddcc0041205196f5c3.tar.bz2
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>
-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 a750164..40f5326 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;