[NTDLL/LDR] - Fix one more USHORT and -1 comparison. Patch by Thomas Faber

svn path=/trunk/; revision=52608
This commit is contained in:
Rafal Harabien 2011-07-10 15:02:00 +00:00
parent ca4263fbf8
commit b509f3318b

View file

@ -1281,7 +1281,7 @@ LdrUnloadDll(IN PVOID BaseAddress)
}
/* Check the current Load Count */
if (LdrEntry->LoadCount != -1)
if (LdrEntry->LoadCount != 0xFFFF)
{
/* Decrease it */
LdrEntry->LoadCount--;