Revert Filip's last 4 changes on his request as they break booting
[reactos.git] / reactos / boot / freeldr / freeldr / reactos / binhive.c
index 584a11f..f9ea51f 100644 (file)
@@ -820,7 +820,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
     }
 
   memset(*Block, 0, CellSize);
-  ((PCELL_HEADER)(*Block))->CellSize *= -1;
+  ((PCELL_HEADER)(*Block))->CellSize = -CellSize;
 
   return TRUE;
 }