mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:KE] Explicitly cast -1 to ULONG
This commit is contained in:
parent
94d175b7f2
commit
b13a696513
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ KiExitTrapDebugChecks(IN PKTRAP_FRAME TrapFrame,
|
|||
}
|
||||
|
||||
/* If we're ignoring previous mode, make sure caller doesn't actually want it */
|
||||
if (SkipPreviousMode && (TrapFrame->PreviousPreviousMode != -1))
|
||||
if (SkipPreviousMode && (TrapFrame->PreviousPreviousMode != (ULONG)-1))
|
||||
{
|
||||
DbgPrint("Exiting a trap witout restoring previous mode, yet previous mode seems valid: %lx\n", TrapFrame->PreviousPreviousMode);
|
||||
__debugbreak();
|
||||
|
|
Loading…
Reference in a new issue