Revert Filip's last 4 changes on his request as they break booting
[reactos.git] / reactos / tools / mkhive / binhive.c
index 381e459..6b999f5 100644 (file)
@@ -840,7 +840,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
     }
 
   memset(*Block, 0, CellSize);
-  ((PCELL_HEADER)(*Block))->CellSize *= -1;
+  ((PCELL_HEADER)(*Block))->CellSize = -CellSize;
 
   return TRUE;
 }