VirtualBox

Changeset 26296 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 5, 2010 2:53:35 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57365
Message:

more warnings.

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

Legend:

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

    r26173 r26296  
    28262826            }
    28272827        case 15: /* Mode */
    2828             if ((pThis->aCSR[15] & 0x8000) != (val & 0x8000) && pThis->pDrv)
     2828            if ((pThis->aCSR[15] & 0x8000) != (uint16_t)(val & 0x8000) && pThis->pDrv)
    28292829            {
    28302830                Log(("#%d: promiscuous mode changed to %d\n", PCNET_INST_NR, !!(val & 0x8000)));
  • trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp

    r17091 r26296  
    560560                            if (!g_cErrors)
    561561                            {
    562                                 ARGS Args0 = {0};
     562                                ARGS Args0;
     563                                RT_ZERO(Args0);
    563564                                Args0.hIf = hIf0;
    564565                                Args0.pBuf = pBuf0;
     
    568569                                Args0.Mac.au16[2] = 0;
    569570
    570                                 ARGS Args1 = {0};
     571                                ARGS Args1;
     572                                RT_ZERO(Args1);
    571573                                Args1.hIf = hIf1;
    572574                                Args1.pBuf = pBuf1;
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