sd-boot: silence one warning about pointer cast

It doesn't matter either way. Fixes #13174.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-07-25 15:55:13 +02:00 committed by Yu Watanabe
parent f293fc5147
commit 0a71e31c33
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ EFI_STATUS linux_exec(EFI_HANDLE *image,
boot_params = (struct boot_params *) 0xFFFFFFFF;
err = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
EFI_SIZE_TO_PAGES(0x4000), (UINTN *) &boot_params);
EFI_SIZE_TO_PAGES(0x4000), (EFI_PHYSICAL_ADDRESS*) &boot_params);
if (EFI_ERROR(err))
return err;