Changeset 32531 in vbox for trunk/src/VBox/Main/MediumImpl.cpp
- Timestamp:
- Sep 15, 2010 5:04:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MediumImpl.cpp
r32437 r32531 134 134 MediumType_T type; 135 135 DeviceType_T devType; 136 uint64_t logicalSize; /*< In MBytes. */136 uint64_t logicalSize; 137 137 138 138 HDDOpenMode hddOpenMode; … … 3874 3874 3875 3875 mediumSize = VDGetFileSize(hdd, 0); 3876 mediumLogicalSize = VDGetSize(hdd, 0) / _1M;3876 mediumLogicalSize = VDGetSize(hdd, 0); 3877 3877 3878 3878 success = true; … … 5614 5614 format.c_str(), 5615 5615 location.c_str(), 5616 task.mSize * _1M,5616 task.mSize, 5617 5617 task.mVariant, 5618 5618 NULL, … … 5629 5629 5630 5630 size = VDGetFileSize(hdd, 0); 5631 logicalSize = VDGetSize(hdd, 0) / _1M;5631 logicalSize = VDGetSize(hdd, 0); 5632 5632 unsigned uImageFlags; 5633 5633 vrc = VDGetImageFlags(hdd, 0, &uImageFlags); … … 5797 5797 5798 5798 size = VDGetFileSize(hdd, VD_LAST_IMAGE); 5799 logicalSize = VDGetSize(hdd, VD_LAST_IMAGE) / _1M;5799 logicalSize = VDGetSize(hdd, VD_LAST_IMAGE); 5800 5800 unsigned uImageFlags; 5801 5801 vrc = VDGetImageFlags(hdd, 0, &uImageFlags); … … 6344 6344 6345 6345 size = VDGetFileSize(targetHdd, VD_LAST_IMAGE); 6346 logicalSize = VDGetSize(targetHdd, VD_LAST_IMAGE) / _1M;6346 logicalSize = VDGetSize(targetHdd, VD_LAST_IMAGE); 6347 6347 unsigned uImageFlags; 6348 6348 vrc = VDGetImageFlags(targetHdd, 0, &uImageFlags); … … 6614 6614 6615 6615 size = VDGetFileSize(hdd, VD_LAST_IMAGE); 6616 logicalSize = VDGetSize(hdd, VD_LAST_IMAGE) / _1M;6616 logicalSize = VDGetSize(hdd, VD_LAST_IMAGE); 6617 6617 unsigned uImageFlags; 6618 6618 vrc = VDGetImageFlags(hdd, 0, &uImageFlags);
Note:
See TracChangeset
for help on using the changeset viewer.