mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
sd-boot: silence one warning about pointer cast
It doesn't matter either way. Fixes #13174.
This commit is contained in:
parent
f293fc5147
commit
0a71e31c33
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user