Changeset 21068 in vbox
- Timestamp:
- Jun 30, 2009 2:06:33 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r20930 r21068 3986 3986 m->ulWeightPerOperation = 1; 3987 3987 } 3988 ULONG ulOVFCreationWeight = ( (double)ulTotalOperationsWeight * 50.0 / 100.0); /* Use 50% for the creation of the OVF & the disks */3988 ULONG ulOVFCreationWeight = (ULONG)((double)ulTotalOperationsWeight * 50.0 / 100.0); /* Use 50% for the creation of the OVF & the disks */ 3989 3989 ulTotalOperationsWeight += ulOVFCreationWeight; 3990 3990 … … 4376 4376 * @param aOrigValue Corresponding original value from OVF. 4377 4377 * @param aAutoValue Initial configuration value (can be overridden by caller with setFinalValues). 4378 * @param ulSizeMB Weight for IProgress 4378 4379 * @param strExtraConfig Extra configuration; meaning dependent on type. 4379 4380 */ … … 4808 4809 strAttachmentType, // orig 4809 4810 Utf8StrFmt("%RI32", (uint32_t)adapterType), // conf 4811 0, 4810 4812 Utf8StrFmt("type=%s", strAttachmentType.c_str())); // extra conf 4811 4813 } -
trunk/src/VBox/Main/VFSExplorerImpl.cpp
r20963 r21068 363 363 throw setError(VBOX_E_FILE_ERROR, tr ("Can't delete file '%s' (%Rrc)"), szPath, vrc); 364 364 if(aTask->progress) 365 aTask->progress->setCurrentOperationProgress( fPercentStep * i);365 aTask->progress->setCurrentOperationProgress((ULONG)(fPercentStep * i)); 366 366 } 367 367 } … … 489 489 throw setError(VBOX_E_FILE_ERROR, tr ("Can't delete file '%s' (%Rrc)"), (*it).c_str(), vrc); 490 490 if(aTask->progress) 491 aTask->progress->setCurrentOperationProgress( fPercentStep * i);491 aTask->progress->setCurrentOperationProgress((ULONG)(fPercentStep * i)); 492 492 } 493 493 }
Note:
See TracChangeset
for help on using the changeset viewer.