mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make this compile on EFI32. The EFI_PHYSICAL_ADDRESS type is always
64-bit, even when sizeof(void *) is 32-bit.
This commit is contained in:
parent
5910f6cc85
commit
aa08c7e56e
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
|
|||
if (status != EFI_SUCCESS)
|
||||
BS->Exit(IH, status, 0, NULL);
|
||||
|
||||
setheap((void *)heap, (void *)(heap + heapsize));
|
||||
setheap((void *)(uintptr_t)heap, (void *)(uintptr_t)(heap + heapsize));
|
||||
|
||||
/* Use exit() from here on... */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue