mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTDLL/LDR] - Fix one more USHORT and -1 comparison. Patch by Thomas Faber
svn path=/trunk/; revision=52608
This commit is contained in:
parent
ca4263fbf8
commit
b509f3318b
1 changed files with 1 additions and 1 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue