From f5b597591751fdee2de70009038593d23358fa20 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 26 Nov 2005 15:22:33 +0000 Subject: [PATCH] Don't make cells smaller than they are. svn path=/trunk/; revision=19637 --- reactos/tools/mkhive/binhive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/mkhive/binhive.c b/reactos/tools/mkhive/binhive.c index 6b999f50c1d..381e4591d67 100644 --- a/reactos/tools/mkhive/binhive.c +++ b/reactos/tools/mkhive/binhive.c @@ -840,7 +840,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive, } memset(*Block, 0, CellSize); - ((PCELL_HEADER)(*Block))->CellSize = -CellSize; + ((PCELL_HEADER)(*Block))->CellSize *= -1; return TRUE; }