Changeset 35261 in vbox
- Timestamp:
- Dec 20, 2010 5:44:59 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69109
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r35239 r35261 998 998 hardDisk->COMGETTER(Format)(format.asOutParam()); 999 999 RTPrintf("Storage format: %lS\n", format.raw()); 1000 MediumVariant_Tvariant;1000 ULONG variant; 1001 1001 hardDisk->COMGETTER(Variant)(&variant); 1002 1002 const char *variantStr = "unknown"; -
trunk/src/VBox/Main/MediumImpl.cpp
r35255 r35261 2438 2438 /* setup task object to carry out the operation asynchronously */ 2439 2439 pTask = new Medium::CreateBaseTask(this, pProgress, aLogicalSize, 2440 aVariant);2440 (MediumVariant_T)aVariant); 2441 2441 rc = pTask->rc(); 2442 2442 AssertComRC(rc); … … 2523 2523 ComObjPtr <Progress> pProgress; 2524 2524 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*/); 2527 2528 if (FAILED(rc)) 2528 2529 delete pMediumLockList; … … 2657 2658 2658 2659 /* 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, 2660 2662 pParent, pSourceMediumLockList, 2661 2663 pTargetMediumLockList);
Note:
See TracChangeset
for help on using the changeset viewer.