mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user