Author: tfaber
Date: Mon May 22 13:48:11 2017
New Revision: 74628
URL:
http://svn.reactos.org/svn/reactos?rev=74628&view=rev
Log:
[CMLIB]
- Fix an assert that only works by chance
Modified:
trunk/reactos/sdk/lib/cmlib/hivecell.c
Modified: trunk/reactos/sdk/lib/cmlib/hivecell.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/cmlib/hivecell.c?r…
==============================================================================
--- trunk/reactos/sdk/lib/cmlib/hivecell.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/cmlib/hivecell.c [iso-8859-1] Mon May 22 13:48:11 2017
@@ -33,7 +33,7 @@
}
else
{
- ASSERT((CellIndex & HCELL_TYPE_MASK) == Stable);
+ ASSERT(HvGetCellType(CellIndex) == Stable);
return (PVOID)((ULONG_PTR)RegistryHive->BaseBlock + HBLOCK_SIZE +
CellIndex);
}