mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcMemoryLib: Improve portability, thx @nms42
closes acidanthera/bugtracker#642
This commit is contained in:
parent
83eebf2a65
commit
c424c685d2
@ -174,7 +174,7 @@ GetCurrentMemoryMapAlloc (
|
||||
if (EFI_ERROR (Status)) {
|
||||
if (TopMemory != NULL) {
|
||||
gBS->FreePages (
|
||||
(EFI_PHYSICAL_ADDRESS) *MemoryMap,
|
||||
(EFI_PHYSICAL_ADDRESS) ((UINTN) *MemoryMap),
|
||||
(UINTN) *TopMemory
|
||||
);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user