Don't make cells smaller than they are.
Modified: trunk/reactos/tools/mkhive/binhive.c
_____
Modified: trunk/reactos/tools/mkhive/binhive.c
--- trunk/reactos/tools/mkhive/binhive.c 2005-11-26 15:21:44 UTC
(rev 19636)
+++ trunk/reactos/tools/mkhive/binhive.c 2005-11-26 15:22:33 UTC
(rev 19637)
@@ -840,7 +840,7 @@
}
memset(*Block, 0, CellSize);
- ((PCELL_HEADER)(*Block))->CellSize = -CellSize;
+ ((PCELL_HEADER)(*Block))->CellSize *= -1;
return TRUE;
}