VirtualBox

Ignore:
Timestamp:
Aug 6, 2008 5:10:32 PM (16 years ago)
Author:
vboxsync
Message:

gcc-4.3 warnings

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsHD.h

    r10999 r11186  
    120120    {
    121121        return slt.bus <  aOther.slt.bus ||
    122                slt.bus == aOther.slt.bus && slt.channel <  aOther.slt.channel ||
    123                slt.bus == aOther.slt.bus && slt.channel == aOther.slt.channel && slt.device <  aOther.slt.device;
     122               (slt.bus == aOther.slt.bus && slt.channel <  aOther.slt.channel) ||
     123               (slt.bus == aOther.slt.bus && slt.channel == aOther.slt.channel && slt.device <  aOther.slt.device);
    124124    }
    125125
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxUpdateDlg.cpp

    r10916 r11186  
    5454    {
    5555        return x <  aOther.x ||
    56                x == aOther.x && y <  aOther.y ||
    57                x == aOther.x && y == aOther.y && z <  aOther.z;
     56               (x == aOther.x && y <  aOther.y) ||
     57               (x == aOther.x && y == aOther.y && z <  aOther.z);
    5858    }
    5959
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