- Timestamp:
- Mar 10, 2009 3:07:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r17634 r17636 3259 3259 if (strVbox.length()) 3260 3260 { 3261 lIDEControllerIndex = pNewDesc->m->llDescriptions.size();3261 lIDEControllerIndex = (int32_t)pNewDesc->m->llDescriptions.size(); 3262 3262 pNewDesc->addEntry(VirtualSystemDescriptionType_HardDiskControllerIDE, Utf8StrFmt("%d", lIDEControllerIndex), strVbox, ""); 3263 3263 } … … 3272 3272 if (fSataEnabled) 3273 3273 { 3274 lSATAControllerIndex = pNewDesc->m->llDescriptions.size();3274 lSATAControllerIndex = (int32_t)pNewDesc->m->llDescriptions.size(); 3275 3275 pNewDesc->addEntry(VirtualSystemDescriptionType_HardDiskControllerSATA, Utf8StrFmt("%d", lSATAControllerIndex), strVbox, ""); 3276 3276 } … … 3317 3317 switch (storageBus) 3318 3318 { 3319 case StorageBus ::IDE:3319 case StorageBus_IDE: 3320 3320 // this is the exact reverse to what we're doing in Appliance::taskThreadImportMachines, 3321 3321 // and it must be updated when that is changed! … … 3334 3334 break; 3335 3335 3336 case StorageBus ::SATA:3336 case StorageBus_SATA: 3337 3337 lChannelVsys = lChannel; // should be between 0 and 29 3338 3338 lControllerVsys = lSATAControllerIndex;
Note:
See TracChangeset
for help on using the changeset viewer.