]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_stub: Use efi_uintn_t
authorAlexander Graf <agraf@suse.de>
Mon, 4 Dec 2017 15:33:51 +0000 (16:33 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 5 Dec 2017 21:56:17 +0000 (22:56 +0100)
Commit f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot
services") changed the internal EFI API header without adapting its existing
EFI stub users. Let's adapt the EFI stub as well.

Fixes: f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot services")
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi/efi_stub.c

index 1814960572890e100c0884e45e35961a180d5173..2e8d409d31af1ea99f90932dfe6c292a13ef7ce0 100644 (file)
@@ -277,7 +277,7 @@ efi_status_t efi_main(efi_handle_t image, struct efi_system_table *sys_table)
        struct efi_boot_services *boot = sys_table->boottime;
        struct efi_mem_desc *desc;
        struct efi_entry_memmap map;
-       ulong key, desc_size, size;
+       efi_uintn_t key, desc_size, size;
        efi_status_t ret;
        u32 version;
        int cs32;