VirtualBox

Changeset 18437 in vbox


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

DevPCNet.cpp: MSC/64 size_t warning.

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

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

    r15955 r18437  
    498498        case MDIO_READ:
    499499            /* Bits are shifted out in MSB to LSB order */
    500             fPin = pPhy->u16Acc & 0x8000;
     500            fPin = !!(pPhy->u16Acc & 0x8000);
    501501            pPhy->u16Acc <<= 1;
    502502            if (--pPhy->u16Cnt == 0)
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r18418 r18437  
    18691869            }
    18701870            size += 4;
    1871             pkt_size = size;
     1871            pkt_size = (int)size;                           Assert((size_t)pkt_size == size);
    18721872
    18731873#ifdef PCNET_DEBUG_MATCH
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