[sl] update to syslinux 4.06

* Also fixes MSVC 64 bit warnings in format.c and iso.c
This commit is contained in:
Pete Batard 2012-11-04 00:29:24 +00:00
parent 22800bb8a5
commit a352ad019d
8 changed files with 34 additions and 19 deletions

View file

@ -421,7 +421,7 @@ static BOOL FormatFAT32(DWORD DriveIndex)
strncpy((char*)pFAT32BootSect->sOEMName, "MSWIN4.1", 8);
pFAT32BootSect->wBytsPerSec = (WORD) BytesPerSect;
ClusterSize = ComboBox_GetItemData(hClusterSize, ComboBox_GetCurSel(hClusterSize));
ClusterSize = (DWORD)ComboBox_GetItemData(hClusterSize, ComboBox_GetCurSel(hClusterSize));
SectorsPerCluster = ClusterSize / BytesPerSect;
pFAT32BootSect->bSecPerClus = (BYTE) SectorsPerCluster ;