Don't make cells smaller than they are.
Modified: trunk/reactos/ntoskrnl/cm/regfile.c
_____
Modified: trunk/reactos/ntoskrnl/cm/regfile.c
--- trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 13:26:48 UTC (rev
19635)
+++ trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 15:21:44 UTC (rev
19636)
@@ -3431,7 +3431,7 @@
RtlZeroMemory(*Cell,
CellSize);
- ((PCELL_HEADER) (*Cell))->CellSize = -CellSize;
+ ((PCELL_HEADER) (*Cell))->CellSize *= -1;
}
return STATUS_SUCCESS;