VirtualBox

Changeset 17159 in vbox


Ignore:
Timestamp:
Feb 26, 2009 12:20:19 PM (16 years ago)
Author:
vboxsync
Message:

OVF: removed 2 more warnings

File:
1 edited

Legend:

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

    r17157 r17159  
    16281628        /* Figure out how many sub operation the import will need */
    16291629        /* One for the appliance */
    1630         size_t opCount = 1;
     1630        uint32_t opCount = 1;
    16311631        list< ComObjPtr<VirtualSystemDescription> >::const_iterator it;
    16321632        for (it = m->virtualSystemDescriptions.begin();
     
    16391639            /* One for every hard disk of the Virtual System */
    16401640            std::list<VirtualSystemDescriptionEntry*> avsdeHDs = vsdescThis->findByType(VirtualSystemDescriptionType_HardDiskImage);
    1641             opCount += avsdeHDs.size();
     1641            opCount += (uint32_t)avsdeHDs.size();
    16421642        }
    16431643        Bstr progressDesc = BstrFmt(tr("Import appliance '%ls'"),
     
    25572557{
    25582558    VirtualSystemDescriptionEntry vsde;
    2559     vsde.ulIndex = m->descriptions.size();      // each entry gets an index so the client side can reference them
     2559    vsde.ulIndex = (uint32_t)m->descriptions.size();      // each entry gets an index so the client side can reference them
    25602560    vsde.type = aType;
    25612561    vsde.strRef = strRef;
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