mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
Fix difference in signedness warnings
svn path=/trunk/; revision=23829
This commit is contained in:
parent
1fcf9ceba0
commit
5b8d955fb7
|
@ -543,7 +543,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
|
||||||
|
|
||||||
/* Save the IRQL and set hardware trigger */
|
/* Save the IRQL and set hardware trigger */
|
||||||
Prcb->DebuggerSavedIRQL = KeGetCurrentIrql();
|
Prcb->DebuggerSavedIRQL = KeGetCurrentIrql();
|
||||||
InterlockedIncrement(&KiHardwareTrigger);
|
InterlockedIncrement((PLONG)&KiHardwareTrigger);
|
||||||
|
|
||||||
/* Capture the CPU Context */
|
/* Capture the CPU Context */
|
||||||
RtlCaptureContext(&Prcb->ProcessorState.ContextFrame);
|
RtlCaptureContext(&Prcb->ProcessorState.ContextFrame);
|
||||||
|
@ -857,7 +857,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Avoid recursion */
|
/* Avoid recursion */
|
||||||
if (!InterlockedDecrement(&KeBugCheckCount))
|
if (!InterlockedDecrement((PLONG)&KeBugCheckCount))
|
||||||
{
|
{
|
||||||
/* Set CPU that is bug checking now */
|
/* Set CPU that is bug checking now */
|
||||||
KeBugCheckOwner = Prcb->Number;
|
KeBugCheckOwner = Prcb->Number;
|
||||||
|
|
|
@ -212,12 +212,12 @@ VdmpStartExecution(VOID)
|
||||||
if (VdmTib->VdmContext.EFlags & EFLAGS_INTERRUPT_MASK)
|
if (VdmTib->VdmContext.EFlags & EFLAGS_INTERRUPT_MASK)
|
||||||
{
|
{
|
||||||
/* Enable them as well */
|
/* Enable them as well */
|
||||||
InterlockedOr(VdmState, EFLAGS_INTERRUPT_MASK);
|
InterlockedOr((PLONG)VdmState, EFLAGS_INTERRUPT_MASK);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Disable them */
|
/* Disable them */
|
||||||
InterlockedAnd(VdmState, ~EFLAGS_INTERRUPT_MASK);
|
InterlockedAnd((PLONG)VdmState, ~EFLAGS_INTERRUPT_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable the interrupt flag */
|
/* Enable the interrupt flag */
|
||||||
|
|
Loading…
Reference in a new issue