VirtualBox

Changeset 77204 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 7, 2019 5:16:59 PM (6 years ago)
Author:
vboxsync
Message:

bugref:9349. Fixed the wrong conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ProgressImpl.cpp

    r76592 r77204  
    572572            uint64_t ullTimeElapsed = ullTimeNow - m_ullTimestamp;
    573573            uint64_t ullTimeTotal = (uint64_t)((double)ullTimeElapsed * 100 / dPercentDone);
    574             uint64_t ullTimeRemaining = ullTimeTotal - ullTimeElapsed;
     574            int64_t ullTimeRemaining = ullTimeTotal - ullTimeElapsed;
    575575
    576576//          LogFunc(("dPercentDone = %RI32, ullTimeNow = %RI64, ullTimeElapsed = %RI64, ullTimeTotal = %RI64, ullTimeRemaining = %RI64\n",
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette