projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea547f8
)
[CMLIB]
author
Thomas Faber
<thomas.faber@reactos.org>
Mon, 22 May 2017 13:48:11 +0000
(13:48 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Mon, 22 May 2017 13:48:11 +0000
(13:48 +0000)
- Fix an assert that only works by chance
svn path=/trunk/; revision=74628
reactos/sdk/lib/cmlib/hivecell.c
patch
|
blob
|
history
diff --git
a/reactos/sdk/lib/cmlib/hivecell.c
b/reactos/sdk/lib/cmlib/hivecell.c
index
3a401d9
..
0a005de
100644
(file)
--- a/
reactos/sdk/lib/cmlib/hivecell.c
+++ b/
reactos/sdk/lib/cmlib/hivecell.c
@@
-33,7
+33,7
@@
HvpGetCellHeader(
}
else
{
}
else
{
- ASSERT(
(CellIndex & HCELL_TYPE_MASK
) == Stable);
+ ASSERT(
HvGetCellType(CellIndex
) == Stable);
return (PVOID)((ULONG_PTR)RegistryHive->BaseBlock + HBLOCK_SIZE +
CellIndex);
}
return (PVOID)((ULONG_PTR)RegistryHive->BaseBlock + HBLOCK_SIZE +
CellIndex);
}