Changeset 14065 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- Nov 10, 2008 11:29:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/path-win.cpp
r14054 r14065 150 150 return VERR_PATH_NOT_FOUND; 151 151 size_t const cwc = RTUtf16Len(&wszPath[0]); 152 if ( !GetEnvironmentVariableW(L"HOMEPATH", &wszPath[cwc], RTPATH_MAX - cwc)152 if ( !GetEnvironmentVariableW(L"HOMEPATH", &wszPath[cwc], RTPATH_MAX - (DWORD)cwc) 153 153 || (dwAttr = GetFileAttributesW(&wszPath[0])) == INVALID_FILE_ATTRIBUTES 154 154 || !(dwAttr & FILE_ATTRIBUTE_DIRECTORY))
Note:
See TracChangeset
for help on using the changeset viewer.