VirtualBox

Changeset 62984 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 4, 2016 1:01:32 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109591
Message:

DrvPciRaw.cpp/PDMIPCIRAWUP: warnings and adjustments.

File:
1 edited

Legend:

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

    r62980 r62984  
    650650static DECLCALLBACK(void) drvNATNetworkUp_SetPromiscuousMode(PPDMINETWORKUP pInterface, bool fPromiscuous)
    651651{
    652     RT_NOREF(pInterface, fPromiscuous)
     652    RT_NOREF(pInterface, fPromiscuous);
    653653    LogFlow(("drvNATNetworkUp_SetPromiscuousMode: fPromiscuous=%d\n", fPromiscuous));
    654654    /* nothing to do */
     
    870870                                                 slirp_get_timeout_ms(pThis->pNATState),
    871871                                                 /* :fAlertable */ TRUE);
    872         if (   (dwEvent < WSA_WAIT_EVENT_0 || dwEvent > WSA_WAIT_EVENT_0 + nFDs - 1)
     872        AssertCompile(WSA_WAIT_EVENT_0 == 0);
     873        if (   (/*dwEvent < WSA_WAIT_EVENT_0 ||*/ dwEvent > WSA_WAIT_EVENT_0 + nFDs - 1)
    873874            && dwEvent != WSA_WAIT_TIMEOUT && dwEvent != WSA_WAIT_IO_COMPLETION)
    874875        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette