Fix difference in signedness warnings

svn path=/trunk/; revision=23829
This commit is contained in:
Thomas Bluemel 2006-08-30 21:47:38 +00:00
parent 1fcf9ceba0
commit 5b8d955fb7
2 changed files with 4 additions and 4 deletions

View file

@ -543,7 +543,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
/* Save the IRQL and set hardware trigger */
Prcb->DebuggerSavedIRQL = KeGetCurrentIrql();
InterlockedIncrement(&KiHardwareTrigger);
InterlockedIncrement((PLONG)&KiHardwareTrigger);
/* Capture the CPU Context */
RtlCaptureContext(&Prcb->ProcessorState.ContextFrame);
@ -857,7 +857,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
}
/* Avoid recursion */
if (!InterlockedDecrement(&KeBugCheckCount))
if (!InterlockedDecrement((PLONG)&KeBugCheckCount))
{
/* Set CPU that is bug checking now */
KeBugCheckOwner = Prcb->Number;

View file

@ -212,12 +212,12 @@ VdmpStartExecution(VOID)
if (VdmTib->VdmContext.EFlags & EFLAGS_INTERRUPT_MASK)
{
/* Enable them as well */
InterlockedOr(VdmState, EFLAGS_INTERRUPT_MASK);
InterlockedOr((PLONG)VdmState, EFLAGS_INTERRUPT_MASK);
}
else
{
/* Disable them */
InterlockedAnd(VdmState, ~EFLAGS_INTERRUPT_MASK);
InterlockedAnd((PLONG)VdmState, ~EFLAGS_INTERRUPT_MASK);
}
/* Enable the interrupt flag */