Changeset 33699 in vbox
- Timestamp:
- Nov 2, 2010 4:12:29 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67325
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImplImport.cpp
r33698 r33699 2117 2117 // In OVF (at least VMware's version of it), an IDE controller has two ports, so VirtualBox's single IDE controller 2118 2118 // with two channels and two ports each counts as two OVF IDE controllers -- so we accept one or two such IDE controllers 2119 uint32_t cIDEControllers = vsdeHDCIDE.size();2119 size_t cIDEControllers = vsdeHDCIDE.size(); 2120 2120 if (cIDEControllers > 2) 2121 2121 throw setError(VBOX_E_FILE_ERROR, … … 2508 2508 { 2509 2509 config.hardwareMachine.audioAdapter.fEnabled = true; 2510 config.hardwareMachine.audioAdapter.controllerType = stack.strAudioAdapter.toUInt32();2510 config.hardwareMachine.audioAdapter.controllerType = (AudioControllerType_T)stack.strAudioAdapter.toUInt32(); 2511 2511 } 2512 2512 else … … 2544 2544 { 2545 2545 it1->fEnabled = true; 2546 it1->type = vsdeNW->strVboxCurrent.toUInt32();2546 it1->type = (NetworkAdapterType_T)vsdeNW->strVboxCurrent.toUInt32(); 2547 2547 break; 2548 2548 } … … 2801 2801 if (vsdeRAM.size() != 1) 2802 2802 throw setError(VBOX_E_FILE_ERROR, tr("RAM size missing")); 2803 stack.ulMemorySizeMB = vsdeRAM.front()->strVboxCurrent.toUInt64();2803 stack.ulMemorySizeMB = (ULONG)vsdeRAM.front()->strVboxCurrent.toUInt64(); 2804 2804 2805 2805 #ifdef VBOX_WITH_USB
Note:
See TracChangeset
for help on using the changeset viewer.