Changeset 17774 in vbox
- Timestamp:
- Mar 12, 2009 6:35:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/NetIfList-win.cpp
r17773 r17774 1307 1307 static HRESULT netIfGenConnectionName (PCWSTR DevName, WCHAR *pBuf, PULONG pcbBuf) 1308 1308 { 1309 WCHAR * pSuffix = wcsrchr( DevName, L'#' );1309 const WCHAR * pSuffix = wcsrchr( DevName, L'#' ); 1310 1310 ULONG cbSize = sizeof(VBOX_CONNECTION_NAME); 1311 1311 ULONG cbSufSize = 0; … … 1313 1313 if(pSuffix) 1314 1314 { 1315 cbSize += wcslen(pSuffix) * 2;1315 cbSize += (ULONG)wcslen(pSuffix) * 2; 1316 1316 } 1317 1317
Note:
See TracChangeset
for help on using the changeset viewer.