From 0a71e31c33021d4265fcc037c93d8f364521f281 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 25 Jul 2019 15:55:13 +0200 Subject: [PATCH] sd-boot: silence one warning about pointer cast It doesn't matter either way. Fixes #13174. --- src/boot/efi/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/linux.c b/src/boot/efi/linux.c index ad26cc5..5b623f4 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; -- 2.7.4