VirtualBox

Changeset 35261 in vbox


Ignore:
Timestamp:
Dec 20, 2010 5:44:59 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69109
Message:

Main+Frontends: fix windows burns

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r35239 r35261  
    998998        hardDisk->COMGETTER(Format)(format.asOutParam());
    999999        RTPrintf("Storage format:       %lS\n", format.raw());
    1000         MediumVariant_T variant;
     1000        ULONG variant;
    10011001        hardDisk->COMGETTER(Variant)(&variant);
    10021002        const char *variantStr = "unknown";
  • trunk/src/VBox/Main/MediumImpl.cpp

    r35255 r35261  
    24382438        /* setup task object to carry out the operation asynchronously */
    24392439        pTask = new Medium::CreateBaseTask(this, pProgress, aLogicalSize,
    2440                                            aVariant);
     2440                                           (MediumVariant_T)aVariant);
    24412441        rc = pTask->rc();
    24422442        AssertComRC(rc);
     
    25232523    ComObjPtr <Progress> pProgress;
    25242524
    2525     rc = createDiffStorage(diff, aVariant, pMediumLockList, &pProgress,
    2526                            false /* aWait */, NULL /* pfNeedsGlobalSaveSettings*/);
     2525    rc = createDiffStorage(diff, (MediumVariant_T)aVariant, pMediumLockList,
     2526                           &pProgress, false /* aWait */,
     2527                           NULL /* pfNeedsGlobalSaveSettings*/);
    25272528    if (FAILED(rc))
    25282529        delete pMediumLockList;
     
    26572658
    26582659        /* setup task object to carry out the operation asynchronously */
    2659         pTask = new Medium::CloneTask(this, pProgress, pTarget, aVariant,
     2660        pTask = new Medium::CloneTask(this, pProgress, pTarget,
     2661                                      (MediumVariant_T)aVariant,
    26602662                                      pParent, pSourceMediumLockList,
    26612663                                      pTargetMediumLockList);
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