VirtualBox

Changeset 17774 in vbox


Ignore:
Timestamp:
Mar 12, 2009 6:35:36 PM (16 years ago)
Author:
vboxsync
Message:

burn fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/NetIfList-win.cpp

    r17773 r17774  
    13071307static HRESULT netIfGenConnectionName (PCWSTR DevName, WCHAR *pBuf, PULONG pcbBuf)
    13081308{
    1309     WCHAR * pSuffix = wcsrchr( DevName, L'#' );
     1309    const WCHAR * pSuffix = wcsrchr( DevName, L'#' );
    13101310    ULONG cbSize = sizeof(VBOX_CONNECTION_NAME);
    13111311    ULONG cbSufSize = 0;
     
    13131313    if(pSuffix)
    13141314    {
    1315         cbSize += wcslen(pSuffix) * 2;
     1315        cbSize += (ULONG)wcslen(pSuffix) * 2;
    13161316    }
    13171317
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