Author: jgardou
Date: Fri Mar 4 03:42:38 2011
New Revision: 50966
URL:
http://svn.reactos.org/svn/reactos?rev=50966&view=rev
Log:
[RTL]
- Fix compilation when NDEBUG is not defined
Modified:
trunk/reactos/lib/rtl/critical.c
Modified: trunk/reactos/lib/rtl/critical.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/critical.c?rev=509…
==============================================================================
--- trunk/reactos/lib/rtl/critical.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/critical.c [iso-8859-1] Fri Mar 4 03:42:38 2011
@@ -604,7 +604,7 @@
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
{
#ifndef NDEBUG
- HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
+ HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
/* In win this case isn't checked. However it's a valid check so it should
only
be performed in debug builds! */