mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
fix MinGW-w64 warnings
This commit is contained in:
parent
a472e96e87
commit
6275c5b724
7 changed files with 12 additions and 15 deletions
|
@ -479,7 +479,7 @@ static BOOL FormatFAT32(DWORD DriveIndex)
|
|||
pFAT32BootSect->sJmpBoot[0]=0xEB;
|
||||
pFAT32BootSect->sJmpBoot[1]=0x58; // jmp.s $+0x5a is 0xeb 0x58, not 0xeb 0x5a. Thanks Marco!
|
||||
pFAT32BootSect->sJmpBoot[2]=0x90;
|
||||
strncpy((char*)pFAT32BootSect->sOEMName, "MSWIN4.1", 8);
|
||||
memcpy(pFAT32BootSect->sOEMName, "MSWIN4.1", 8);
|
||||
pFAT32BootSect->wBytsPerSec = (WORD) BytesPerSect;
|
||||
|
||||
ClusterSize = (DWORD)ComboBox_GetItemData(hClusterSize, ComboBox_GetCurSel(hClusterSize));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue