[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potent...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 Dec 2015 17:08:13 +0000 (17:08 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 26 Dec 2015 17:08:13 +0000 (17:08 +0000)
commit060e447a7749c981bdc506fe8148e0563279de81
treeaa01873798e93fcd771909ef9377287df4ce019e
parentc6ab198d15822f3aa8b90b3f4735c1b8681e78fb
[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potential overflows. Should fix a strange floppy read/write corruption I noticed.

svn path=/trunk/; revision=70424
reactos/subsystems/mvdm/ntvdm/bios/bios32/dskbios32.c
reactos/subsystems/mvdm/ntvdm/hardware/disk.c