VirtualBox

Changeset 18389 in vbox for trunk/src


Ignore:
Timestamp:
Mar 27, 2009 1:13:31 PM (16 years ago)
Author:
vboxsync
Message:

use toUInt32() here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostNetworkInterfaceImpl.cpp

    r18385 r18389  
    568568            hrc = mVBox->GetExtraData(Bstr(Utf8StrFmt("HostOnly/%ls/IPV6PrefixLen", mInterfaceName.raw())), tmpPrefixLen.asOutParam());
    569569            if (SUCCEEDED(hrc) && !tmpPrefixLen.isEmpty())
    570                 m.IPV6NetworkMaskPrefixLength = atol(Utf8Str(tmpPrefixLen).raw());
     570                m.IPV6NetworkMaskPrefixLength = Utf8Str(tmpPrefixLen).toUInt32();
    571571            else
    572572                m.IPV6NetworkMaskPrefixLength = 64;
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