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:
marcel 2006-11-03 04:19:31 +00:00
parent c4a6a4c4a7
commit 5478f7099d

View File

@ -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... */