From: Zbigniew Jędrzejewski-Szmek Date: Thu, 25 Jul 2019 13:55:13 +0000 (+0200) Subject: sd-boot: silence one warning about pointer cast X-Git-Tag: v243-rc1~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a71e31c33021d4265fcc037c93d8f364521f281;p=thirdparty%2Fsystemd.git sd-boot: silence one warning about pointer cast It doesn't matter either way. Fixes #13174. --- diff --git a/src/boot/efi/linux.c b/src/boot/efi/linux.c index ad26cc510e9..5b623f4b71e 100644 --- a/src/boot/efi/linux.c +++ b/src/boot/efi/linux.c @@ -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;