OcMachoLib and OcAppleMachoLib: Silence type warnings.

This commit is contained in:
Download-Fritz 2019-03-29 08:12:51 +01:00
parent 8255f23ff0
commit 826d078efd
2 changed files with 2 additions and 2 deletions

View File

@ -1154,7 +1154,7 @@ InternalProcessSymbolPointers (
return TRUE;
}
NumSymbols = (Section->Size / sizeof (MACH_NLIST_64));
NumSymbols = (UINT32)(Section->Size / sizeof (MACH_NLIST_64));
FirstSym = Section->Reserved1;
Result = OcOverflowAddU32 (FirstSym, NumSymbols, &OffsetTop);

View File

@ -1379,7 +1379,7 @@ MachoExpandImage64 (
}
}
CurrentDelta = OriginalDelta + Segment->Size - Segment->FileSize;
CurrentDelta = OriginalDelta + (UINT32)(Segment->Size - Segment->FileSize);
}
if (Strip) {