diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-25 15:55:13 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-26 10:37:56 +0900 |
commit | 0a71e31c33021d4265fcc037c93d8f364521f281 (patch) | |
tree | 8613a18f5e96b63908af68feaafb3475d2396346 /src | |
parent | f293fc5147d75902f10c3867ebf17b1496789933 (diff) | |
download | systemd-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')
-rw-r--r-- | src/boot/efi/linux.c | 2 |
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; |