VirtualBox

Changeset 21437 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 9, 2009 12:27:58 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49833
Message:

FE/Qt4: fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/QIAdvancedSlider.cpp

    r21433 r21437  
    269269    {
    270270        float l2 = log ((float)val)/log (2.0);
    271         int newVal = pow ((float)2, (int)qRound (l2)); /* The value to snap on */
     271        int newVal = (int) pow ((float)2, (int)qRound (l2)); /* The value to snap on */
    272272        int pos = mSlider->positionForValue (val); /* Get the relative screen pos for the original value */
    273273        int newPos = mSlider->positionForValue (newVal); /* Get the relative screen pos for the snap value */
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