mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 01:15:12 -04:00
[misc] fix warnings
* MSVC x64 warnings in file.c * Clang and MinGW warnings in badblocks * also removed the requirement for * also added test ID to badblocks call
This commit is contained in:
parent
e419cf9015
commit
04bf6c6b3d
8 changed files with 78 additions and 110 deletions
|
@ -331,7 +331,8 @@ void __cdecl FormatThread(void* param)
|
|||
goto out;
|
||||
}
|
||||
|
||||
if (BadBlocks(hPhysicalDrive, SelectedDrive.DiskSize, SelectedDrive.Geometry.BytesPerSector)) {
|
||||
if (BadBlocks(hPhysicalDrive, SelectedDrive.DiskSize,
|
||||
SelectedDrive.Geometry.BytesPerSector, BADBLOCKS_RW)) {
|
||||
// TODO: report block failure number, etc
|
||||
uprintf("Bad blocks check failed.\n");
|
||||
goto out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue