VirtualBox

Changeset 33699 in vbox


Ignore:
Timestamp:
Nov 2, 2010 4:12:29 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67325
Message:

Main-OVF: fix win burn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImplImport.cpp

    r33698 r33699  
    21172117    // In OVF (at least VMware's version of it), an IDE controller has two ports, so VirtualBox's single IDE controller
    21182118    // 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();
    21202120    if (cIDEControllers > 2)
    21212121        throw setError(VBOX_E_FILE_ERROR,
     
    25082508    {
    25092509        config.hardwareMachine.audioAdapter.fEnabled = true;
    2510         config.hardwareMachine.audioAdapter.controllerType = stack.strAudioAdapter.toUInt32();
     2510        config.hardwareMachine.audioAdapter.controllerType = (AudioControllerType_T)stack.strAudioAdapter.toUInt32();
    25112511    }
    25122512    else
     
    25442544                    {
    25452545                        it1->fEnabled = true;
    2546                         it1->type = vsdeNW->strVboxCurrent.toUInt32();
     2546                        it1->type = (NetworkAdapterType_T)vsdeNW->strVboxCurrent.toUInt32();
    25472547                        break;
    25482548                    }
     
    28012801        if (vsdeRAM.size() != 1)
    28022802            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();
    28042804
    28052805#ifdef VBOX_WITH_USB
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette