mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Silence MSVC
This commit is contained in:
parent
90f7fbb14a
commit
acd32171f4
@ -974,7 +974,7 @@ UINT8* PatchMovVar (
|
||||
//
|
||||
// mov [var], value lower
|
||||
//
|
||||
VarAddr32 = (Var - Start) + DataSection->Section32.Address - DataSection->Section32.Offset;
|
||||
VarAddr32 = (UINT32) ((Var - Start) + DataSection->Section32.Address - DataSection->Section32.Offset);
|
||||
*Location++ = 0xC7;
|
||||
*Location++ = 0x05;
|
||||
CopyMem (Location, &VarAddr32, sizeof (VarAddr32));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user