OcAppleKernelLib: Silence MSVC

This commit is contained in:
Vitaly Cheptsov 2021-05-27 07:54:21 +03:00 committed by GitHub
parent 90f7fbb14a
commit acd32171f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));