Skip to content

Commit 9e9c576

Browse files
committed
fix wrong variable type
Signed-off-by: Slice <sergey.slice@gmail.com>
1 parent 19676fb commit 9e9c576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Library/OcMainLib/OpenCoreUefi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ OcExitBootServicesHandler (
346346
CONST EFI_MEMORY_ATTRIBUTES_TABLE *MemoryAttributesTable;
347347

348348
MemoryAttributesTable = OcGetMemoryAttributes (NULL);
349-
UINTN nb = MemoryAttributesTable->NumberOfEntries;
349+
UINT32 nb = MemoryAttributesTable->NumberOfEntries;
350350
//gST->NumberOfTableEntries
351351

352352
if ( nb >= 120 ) {

0 commit comments

Comments
 (0)