VirtualBox

Changeset 14065 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Nov 10, 2008 11:29:48 PM (16 years ago)
Author:
vboxsync
Message:

path-win.cpp: shut up 64-bit MSC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/path-win.cpp

    r14054 r14065  
    150150                return VERR_PATH_NOT_FOUND;
    151151            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)
    153153                ||  (dwAttr = GetFileAttributesW(&wszPath[0])) == INVALID_FILE_ATTRIBUTES
    154154                ||  !(dwAttr & FILE_ATTRIBUTE_DIRECTORY))
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