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
c4a6a4c4a7
commit
5478f7099d
@ -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 New Issue
Block a user