VirtualBox

Changeset 18439 in vbox for trunk


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

DevE1000.cpp: One size_t and one bool conversion warning.

File:
1 edited

Legend:

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

    r18118 r18439  
    17341734    E1kLog2(("%s e1kStoreRxFragment: store fragment of %04X at %016LX, EOP=%d\n", pState->szInstance, cb, pDesc->u64BufAddr, pDesc->status.fEOP));
    17351735    PDMDevHlpPhysWrite(pState->CTX_SUFF(pDevIns), pDesc->u64BufAddr, pvBuf, cb);
    1736     pDesc->u16Length = cb;
     1736    pDesc->u16Length = (uint16_t)cb;                        Assert(pDesc->u16Length == cb);
    17371737    /* Write back the descriptor */
    17381738    PDMDevHlpPhysWrite(pState->CTX_SUFF(pDevIns), e1kDescAddr(RDBAH, RDBAL, RDH), pDesc, sizeof(E1KRXDESC));
     
    20062006                E1kLog(("%s e1kRegWriteCTRL: Phy::writeMDIO(%d)\n", INSTANCE(pState), !!(value & CTRL_MDIO)));
    20072007                /* MDIO direction pin is set to output and MDC is high, write MDIO pin value to PHY */
    2008                 Phy::writeMDIO(&pState->phy, value & CTRL_MDIO);
     2008                Phy::writeMDIO(&pState->phy, !!(value & CTRL_MDIO));
    20092009            }
    20102010            else
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