VirtualBox

Changeset 83170 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Feb 27, 2020 10:10:47 AM (5 years ago)
Author:
vboxsync
Message:

Build fixes for r136290.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r83169 r83170  
    73657365    HRESULT hrc = E_FAIL;
    73667366    Bstr name;
    7367     ULONG iSlot = ULONG_MAX;
     7367    int iSlot = -1;
    73687368
    73697369    LogFlowThisFunc(("Checking if cloud network needs to be connected\n"));
    7370     for (ULONG slot = 0; slot < mNetworkAdapters.size(); ++slot)
     7370    for (int slot = 0; slot < mNetworkAdapters.size(); ++slot)
    73717371    {
    73727372        BOOL enabled;
     
    74247424        {
    74257425            LogRel(("OCI-NET: Failed to obtain valid MAC address (%s) from cloud gateway '%ls'.\n",
    7426                     strMacAddress, name.raw()));
     7426                    strMacAddress.c_str(), name.raw()));
    74277427            return hrc;
    74287428        }
     
    74347434        if (SUCCEEDED(hrc))
    74357435        {
    7436             if (iSlot == ULONG_MAX)
     7436            if (iSlot == -1)
    74377437                LogRel(("OCI-NET: No slot information available for cloud network attachment!\n"));
    74387438            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