mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +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 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);
|
DbgPrint("Exiting a trap witout restoring previous mode, yet previous mode seems valid: %lx\n", TrapFrame->PreviousPreviousMode);
|
||||||
__debugbreak();
|
__debugbreak();
|
||||||
|
|
Loading…
Reference in a new issue