VirtualBox

Changeset 32822 in vbox for trunk


Ignore:
Timestamp:
Sep 29, 2010 4:32:59 PM (14 years ago)
Author:
vboxsync
Message:

one more of same kind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/MsiCommon.cpp

    r32821 r32822  
    3232DECLINLINE(bool) msiIs64Bit(PPCIDEVICE pDev)
    3333{
    34     return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_64BIT != 0);
     34    return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_64BIT) != 0;
    3535}
    3636
    3737DECLINLINE(bool) msiIsEnabled(PPCIDEVICE pDev)
    3838{
    39     return msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_ENABLE;
     39    return (msiGetMessageControl(pDev) & VBOX_PCI_MSI_FLAGS_ENABLE) != 0;
    4040}
    4141
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