VirtualBox

Ignore:
Timestamp:
Mar 9, 2015 1:03:59 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98851
Message:

NetworkServices: fixed a few warnings

Location:
trunk/src/VBox/NetworkServices/NetLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/ComHostUtils.cpp

    r50213 r54696  
    7979
    8080    ComBstrArray strs;
    81     int cStrs;
     81    size_t cStrs;
    8282    HRESULT hrc = nat->COMGETTER(LocalMappings)(ComSafeArrayAsOutParam(strs));
    8383    if (   SUCCEEDED(hrc)
    8484        && (cStrs = strs.size()))
    8585    {
    86         for (int i = 0; i < cStrs; ++i)
     86        for (size_t i = 0; i < cStrs; ++i)
    8787        {
    8888            char szAddr[17];
  • trunk/src/VBox/NetworkServices/NetLib/utils.h

    r50213 r54696  
    4040        return false;
    4141
    42     return fNeedDhcpServer;
     42    return RT_BOOL(fNeedDhcpServer);
    4343}
    4444
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