VirtualBox

Changeset 60511 in vbox for trunk


Ignore:
Timestamp:
Apr 14, 2016 6:44:40 PM (9 years ago)
Author:
vboxsync
Message:

VBoxBalloonCtrl: warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModBallooning.cpp

    r59916 r60511  
    143143    else if (ulBalloonNew < ulBalloonOld) /* Deflate. */
    144144    {
    145         lBalloonDelta = RT_CLAMP(g_ulMemoryBalloonDecrementMB, 0, ulBalloonOld - ulBalloonNew) * -1;
     145        lBalloonDelta = RT_MIN(g_ulMemoryBalloonDecrementMB, ulBalloonOld - ulBalloonNew) * -1;
    146146    }
    147147
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