Author: tkreuzer
Date: Sun Jul 17 11:37:00 2011
New Revision: 52710
URL:
http://svn.reactos.org/svn/reactos?rev=52710&view=rev
Log:
[NTOSKRNL]
Fix a warning on MSVC
Modified:
trunk/reactos/ntoskrnl/ke/i386/exp.c
Modified: trunk/reactos/ntoskrnl/ke/i386/exp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/exp.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/exp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/exp.c [iso-8859-1] Sun Jul 17 11:37:00 2011
@@ -611,7 +611,7 @@
if (PreviousMode != KernelMode)
{
/* Save the mask */
- KeGetCurrentThread()->DispatcherHeader.DebugActive = DrMask;
+ KeGetCurrentThread()->DispatcherHeader.DebugActive = (DrMask != 0);
}
}