[ros-diffs] [navaraf] 19638: Don't make cells smaller than they are.

navaraf at svn.reactos.com navaraf at svn.reactos.com
Sat Nov 26 16:23:36 CET 2005


Don't make cells smaller than they are.
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c
  _____  

Modified: trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c
--- trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c
2005-11-26 15:22:33 UTC (rev 19637)
+++ trunk/reactos/boot/freeldr/freeldr/reactos/binhive.c
2005-11-26 15:23:25 UTC (rev 19638)
@@ -820,7 +820,7 @@

     }
 
   memset(*Block, 0, CellSize);
-  ((PCELL_HEADER)(*Block))->CellSize = -CellSize;
+  ((PCELL_HEADER)(*Block))->CellSize *= -1;
 
   return TRUE;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051126/7cafa889/attachment.html


More information about the Ros-diffs mailing list