fix MinGW-w64 warnings

This commit is contained in:
Pete Batard 2018-09-03 13:41:29 +01:00
parent a472e96e87
commit 6275c5b724
7 changed files with 12 additions and 15 deletions

View file

@ -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));