Changeset 93309 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 18, 2022 11:31:45 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r93115 r93309 444 444 break; 445 445 446 rc = setProgress((ULONG)( cbWrittenTotal / ((uint64_t)cbSize / 100.0)));446 rc = setProgress((ULONG)((double)cbWrittenTotal / (double)cbSize / 100.0)); 447 447 if (RT_FAILURE(rc)) 448 448 break; … … 764 764 break; 765 765 766 rc = setProgress((ULONG)( cbWrittenTotal / ((uint64_t)cbSize / 100.0)));766 rc = setProgress((ULONG)((double)cbWrittenTotal / (double)cbSize / 100.0)); 767 767 if (RT_FAILURE(rc)) 768 768 break;
Note:
See TracChangeset
for help on using the changeset viewer.