Author: rharabien Date: Sun Jul 10 15:02:00 2011 New Revision: 52608
URL: http://svn.reactos.org/svn/reactos?rev=52608&view=rev Log: [NTDLL/LDR] - Fix one more USHORT and -1 comparison. Patch by Thomas Faber
Modified: trunk/reactos/dll/ntdll/ldr/ldrapi.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrapi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrapi.c?rev=... ============================================================================== --- trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] (original) +++ trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] Sun Jul 10 15:02:00 2011 @@ -1281,7 +1281,7 @@ }
/* Check the current Load Count */ - if (LdrEntry->LoadCount != -1) + if (LdrEntry->LoadCount != 0xFFFF) { /* Decrease it */ LdrEntry->LoadCount--;