VirtualBox

Changeset 30397 in vbox for trunk


Ignore:
Timestamp:
Jun 23, 2010 3:29:56 PM (15 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMSavedState.cpp

    r30396 r30397  
    18951895     * dirty page (long term) vs. total pages ratio + some pass trickery.
    18961896     */
    1897     unsigned uPctDirty = cDirtyPagesLong
    1898                        / (long double)(pVM->pgm.s.cAllPages - pVM->pgm.s.LiveSave.cIgnoredPages - pVM->pgm.s.cZeroPages);
     1897    unsigned uPctDirty = (unsigned)(  (long double)cDirtyPagesLong
     1898                                    / (pVM->pgm.s.cAllPages - pVM->pgm.s.LiveSave.cIgnoredPages - pVM->pgm.s.cZeroPages);
    18991899    if (uPctDirty <= 100)
    19001900        SSMR3HandleReportLivePercent(pSSM, RT_MIN(100 - uPctDirty, uPass * 2));
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