VirtualBox

Changeset 18438 in vbox


Ignore:
Timestamp:
Mar 28, 2009 2:38:11 AM (16 years ago)
Author:
vboxsync
Message:

DevE1000Phy.cpp: Fixed MSC warning about converting 0x8000 to bool. (previous rev was accidentally mixed with PCNet, sorry.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000Phy.cpp

    r18437 r18438  
    498498        case MDIO_READ:
    499499            /* Bits are shifted out in MSB to LSB order */
    500             fPin = !!(pPhy->u16Acc & 0x8000);
     500            fPin = (pPhy->u16Acc & 0x8000) != 0;
    501501            pPhy->u16Acc <<= 1;
    502502            if (--pPhy->u16Cnt == 0)
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