summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-25 15:55:13 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-26 10:37:56 +0900
commit0a71e31c33021d4265fcc037c93d8f364521f281 (patch)
tree8613a18f5e96b63908af68feaafb3475d2396346 /src/boot
parentf293fc5147d75902f10c3867ebf17b1496789933 (diff)
downloadsystemd-0a71e31c33021d4265fcc037c93d8f364521f281.tar.gz
systemd-0a71e31c33021d4265fcc037c93d8f364521f281.tar.bz2
systemd-0a71e31c33021d4265fcc037c93d8f364521f281.zip
sd-boot: silence one warning about pointer cast
It doesn't matter either way. Fixes #13174.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/efi/linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/linux.c b/src/boot/efi/linux.c
index ad26cc510e..5b623f4b71 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;