Author: cgutman
Date: Mon Oct 31 07:32:00 2011
New Revision: 54280
URL:
http://svn.reactos.org/svn/reactos?rev=54280&view=rev
Log:
[USETUP]
- Fix FAT32 boot sector pointer arithmetic
- Fixes setup error when installing FAT32 boot sector to file
Modified:
trunk/reactos/base/setup/usetup/bootsup.c
Modified: trunk/reactos/base/setup/usetup/bootsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/bootsup.…
==============================================================================
--- trunk/reactos/base/setup/usetup/bootsup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/bootsup.c [iso-8859-1] Mon Oct 31 07:32:00 2011
@@ -1088,7 +1088,7 @@
NULL,
NULL,
&IoStatusBlock,
- (NewBootSector + SECTORSIZE),
+ ((PUCHAR)NewBootSector + SECTORSIZE),
SECTORSIZE,
&FileOffset,
NULL);