mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Fix difference in signedness warnings
svn path=/trunk/; revision=23829
This commit is contained in:
parent
1fcf9ceba0
commit
5b8d955fb7
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue