svn path=/trunk/; revision=45161
{
PKIPCR Pcr = (PKIPCR)KeGetPcr();
#ifdef CONFIG_SMP
- ULONG SetMember;
+ LONG SetMember;
/* Update active processor mask */
- SetMember = Pcr->SetMember;
- InterlockedXor(&NewProcess->ActiveProcessors, SetMember);
- InterlockedXor(&OldProcess->ActiveProcessors, SetMember);
+ SetMember = (LONG)Pcr->SetMember;
+ InterlockedXor((PLONG)&NewProcess->ActiveProcessors, SetMember);
+ InterlockedXor((PLONG)&OldProcess->ActiveProcessors, SetMember);
#endif
/* Check for new LDT */