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; }