- Fix FAT32 boot sector pointer arithmetic
- Fixes setup error when installing FAT32 boot sector to file

svn path=/trunk/; revision=54280
This commit is contained in:
Cameron Gutman 2011-10-31 07:32:00 +00:00
parent 5671dd839b
commit 7be8df8976

View file

@ -1088,7 +1088,7 @@ InstallFat32BootCodeToFile(
NULL, NULL,
NULL, NULL,
&IoStatusBlock, &IoStatusBlock,
(NewBootSector + SECTORSIZE), ((PUCHAR)NewBootSector + SECTORSIZE),
SECTORSIZE, SECTORSIZE,
&FileOffset, &FileOffset,
NULL); NULL);