VirtualBox

Changeset 17636 in vbox for trunk


Ignore:
Timestamp:
Mar 10, 2009 3:07:55 PM (16 years ago)
Author:
vboxsync
Message:

OVF: fix windows burns + warnings

File:
1 edited

Legend:

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

    r17634 r17636  
    32593259        if (strVbox.length())
    32603260        {
    3261             lIDEControllerIndex = pNewDesc->m->llDescriptions.size();
     3261            lIDEControllerIndex = (int32_t)pNewDesc->m->llDescriptions.size();
    32623262            pNewDesc->addEntry(VirtualSystemDescriptionType_HardDiskControllerIDE, Utf8StrFmt("%d", lIDEControllerIndex), strVbox, "");
    32633263        }
     
    32723272        if (fSataEnabled)
    32733273        {
    3274             lSATAControllerIndex = pNewDesc->m->llDescriptions.size();
     3274            lSATAControllerIndex = (int32_t)pNewDesc->m->llDescriptions.size();
    32753275            pNewDesc->addEntry(VirtualSystemDescriptionType_HardDiskControllerSATA, Utf8StrFmt("%d", lSATAControllerIndex), strVbox, "");
    32763276        }
     
    33173317            switch (storageBus)
    33183318            {
    3319                 case StorageBus::IDE:
     3319                case StorageBus_IDE:
    33203320                    // this is the exact reverse to what we're doing in Appliance::taskThreadImportMachines,
    33213321                    // and it must be updated when that is changed!
     
    33343334                break;
    33353335
    3336                 case StorageBus::SATA:
     3336                case StorageBus_SATA:
    33373337                    lChannelVsys = lChannel;        // should be between 0 and 29
    33383338                    lControllerVsys = lSATAControllerIndex;
Note: See TracChangeset for help on using the changeset viewer.

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